alamb commented on PR #10981:
URL: https://github.com/apache/datafusion/pull/10981#issuecomment-2176253960

   > We are using 
https://github.com/datafusion-contrib/datafusion-functions-json, but the 
problem is that, as far as I can tell, there is not a way to add support for 
new operators without modifying the SQL parsing in the main datafusion crate. 
We want to add support for the common JSON operators (at least ? and ->/->>, if 
not the others used by Postgres), and are happy to try those out ourselves, but 
it would be nice if parsing support was included in the datafusion crate even 
if the new operators remain completely unused.
   
   One way might be to use functions (rather than operators) to represent this
   
   So for example, the planner might convert `col->foo` into a function call 
like `fieldAccess(col, 'foo')` 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to