yoavcloud opened a new pull request, #1708:
URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1708

   Some dialects support a size parameter for array type definitions, using 
bracket notation. For example: `INT[100]`. For other dialects, the bracket 
notation should be parsed as JsonAccess, for example in Snowflake this 
statement means to extract the second element after casting the JSONPath `b.c` 
from column a to an array: `SELECT a:b:c::ARRAY[1]`.
   
   This PR makes a distinction between these dialects to ensure the correct 
parsing of JsonAccess after a cast expression.


-- 
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.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to