We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ echo '{ select: { fields: [1, {}] }}' | sqlsonnet - INFO sqlsonnet: Converting Jsonnet file - to SQL { "select": { "fields": [ 1, { } ] } } Error: × Failed to interpret query from JSON: data did not match any variant of untagged enum Expr at line 6 column 7 ╭─[source.json:6:7] 1 │ { 2 │ "select": { 3 │ "fields": [ 4 │ 1, 5 │ { } 6 │ ] · ▲ 7 │ } 8 │ } ╰────
This is very suboptimal, as the error points to the end of the fields list without even localizing the invalid field.
fields
Relevant:
The text was updated successfully, but these errors were encountered:
Improve error reporting #3
c6a0655
Improve error reporting some more #3
d7b5ea5
No branches or pull requests
This is very suboptimal, as the error points to the end of the
fields
list without even localizing the invalid field.Relevant:
The text was updated successfully, but these errors were encountered: