-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
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
parse error in FOR JSON PATH
#127
Comments
I reported the issue upstream to the sql parser library. In the meantime, you have two options:
|
I wrote a fix for the parser, waiting for it to get merged: apache/datafusion-sqlparser-rs#1043 |
Hi @lovasoa, hope you are well. Love the new update 🔥 I see that the sqlparser has been merged, has it been pushed in SQLPage 0.16.0 ? |
Hi ! I'm fine, thank you :) My pull request has been merged, but the new sqlparser still hasn't been released. I'll publish a SQLPage release after the sqlparser release, which @alamb should do beginning of next week. |
Perfect. Thank you for the feedback. |
Good news for you ! You can try it now on docker with |
Perfect thank you for the update, looking forward to the next SQLPage update. |
It's going to be a big one, with some long awaited features :) |
Discussed in #126
Originally posted by Pieter3033 November 8, 2023
Hi,
The newest form component is really cool 🔥.
I am currently struggling to populate the
options
of aselect type
in theform
component.I am using MSSQL.
I have attempted the following:
(SELECT Column1 AS label, Column2 AS value FROM MyTable FOR JSON PATH) AS options
Error:
Note, I have tested this SQL statement inside of MSSQL and the output is as expected.
Maybe I am struggling with the syntax?
Regards
The text was updated successfully, but these errors were encountered: