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

Bug: sql: converting argument $3 type: unsupported type []interface {}, a slice of interface

chr-b opened this issue · comments

commented

I am using the following input file data.jsonl:

{"valuea":"1","valueb":"2","valuec":["1.5.68"]}

Executing query dsq data.jsonl "select valuea from {0}" results in the following error: sql: converting argument $3 type: unsupported type []interface {}, a slice of interface

Using dsq-linux-x64-0.8.1

commented

BTW, it's the array of valuec that is triggering the problem.

Fixed now in the 0.9.0 release. You can now fully access that data, it's not just ignored. See the readme for details:

image