brkyvz commented on issue #26974: [SPARK-30324][SQL] Simplify JSON field access 
through dot notation
URL: https://github.com/apache/spark/pull/26974#issuecomment-568806444
 
 
   @HyukjinKwon Snowflake uses `:` notation on the column before getting nested 
fields. I think that's the most obvious and nicest one:
   
https://docs.snowflake.net/manuals/user-guide/querying-semistructured.html#dot-notation
   
   Splunk requires you to use `spath` before you can specify which column you 
want:
   
https://www.crestdatasys.com/blogs/how-to-extract-complex-field-from-nested-json-events-using-splunk-spl/
   
   IMHO I like Snowflake's API, because it is quite explicit. You have a clear 
separation between which part is case insensitive matching, and which part is 
case sensitive. And it is also clear that you're extracting a field from a 
semi-structured data format, instead of assuming the column is already parsed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to