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
Snowflake Semi-structured data support #99
Comments
this is not too difficult, just need to support single semicolon, if you want to take a stab at this, i can walk you through what needs to be done. can do a vid call or some kind of chat app to sync if you're interested. i'm not familiar with snowflake, but is x:y just JSON_PATH(x, y) or STRUCT_EXTRACT?, seems more similar to struct_extract... |
@danfrankj i'm reading through snowflake docs and i don't quite understand the difference between : and . can i just convert : -> .? this is a one line change
|
@tobymao I know this is closed, but I'm hitting the same issue currently with version 10.5.10. Happy to provide more information and/or to open a new issue for this. Below is a screenshot of the issue - I imagine it's because there are double quotes, since that is what seems to differ between my example and the example provided by @danfrankj |
please open a new issue thanks! |
@NodeJSmith i tried to recreate your error from your screen shot but it seems to work
|
don't forget to pass the read dialect in as snowflake |
@tobymao fudge, I totally forgot to do that 🤦♀️ I'll try it today, I imagine that will fix it. Sorry for the false alarm |
I believe this would be a bigger change than simply adding a new dialect as new parsing is required for json extraction syntax
Test Cases
Ref:
https://docs.snowflake.com/en/user-guide/querying-semistructured.html#traversing-semi-structured-data
The text was updated successfully, but these errors were encountered: