You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be. There was a very similar bug where referencing a qualified column in this manor caused the same issue, and I'm 99% sure they had the same root cause.
Version / Commit
main
Operating System
Darwin-Arm64
Configuration
I have a table created with the following query:
Expected Behavior
When I run the following query, I expect to receive a sensible error message because my
table_name
parameter is not in quotes:lukelamey@Lukes-MBP-2 .build % ./kwil-cli database query "SELECT * FROM info.columns WHERE table_name = posts"
Actual Behavior
I receive this error:
lukelamey@Lukes-MBP-2 .build % ./kwil-cli database query "SELECT * FROM info.columns WHERE table_name = posts" error querying database: jsonrpc.Error: code = -300, message = runtime error: invalid memory address or nil pointer dereference, data = null err code = -300, msg = runtime error: invalid memory address or nil pointer dereference
Steps to Reproduce
Create table as described above and run query.
Additional Information
If i do put the table_name in a single quote, the query works as expected. E.g.,
This bug may be related to #1194
The text was updated successfully, but these errors were encountered: