multiprocessio / dsq

Commandline tool for running SQL queries against JSON, CSV, Excel, Parquet, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If the query result is empty, the formatted content throws an exception

hiasenddup opened this issue · comments

Describe the bug and expected behavior
-p throws an exception when the result is empty

Reproduction steps
dsq testdata.xlsx "select * from {} where czr like '王五%'" -p

Versions
OS: [windows 10]
Shell: [cmd.exe]
dsq version: [win 32-x64-v0.23.0]

Additional context, screenshots
image