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

Excel sheet2 also show sheet1 data, not only sheet2

m2acgi opened this issue · comments

  • OS: almalinux 9
  • Shell: bash
  • dsq version: v0.22.0
$ dsq --pretty test-data.xlsx 'SELECT * FROM {"Sheet2"}'
+---+---+---+ 
| A | B | C |                                                                                                                                     
+---+---+---+                                                                                                                                     
|   | 1 | 2 |                                                                                                                                     
|   | 3 | 4 |                                                                                                                                     
+---+---+---+                                                                                                                                     
(2 rows)                                                                                                                                          

Excel test data as follows: test-data.xlsx

Thanks! I'm looking into it.