cetra3 commented on PR #21353:
URL: https://github.com/apache/datafusion/pull/21353#issuecomment-4810244763

   We have the rewrite stuff in the existing datafusion-functions-json: 
https://github.com/datafusion-contrib/datafusion-functions-json/blob/main/src/rewrite.rs
 this does a few things:
   
   * supports the operators during rewrite
   * flattens the nesting of functions so they just increase the arity to the 
base udf i.e, `json_get(json_get(col, 'foo'), 'bar')` becomes `json_get(col, 
'foo', 'bar')`
   
   I actually don't know if there is "facility" in datafusion to hide udfs from 
users? Would be interesting if we could


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