alamb commented on issue #7845: URL: https://github.com/apache/arrow-datafusion/issues/7845#issuecomment-2016956940
I think we are now pretty close to being able to support JSON / JSONB via scalar functions The basic idea might be: 1. Implement ScalarUDFs for the relevant JSON/BSON functioanlity 2. Implement a rewrtier that rewrites whatever syntax you want on those columns into the corresponding function calls This is basically how Array function support is now implemented Here is the library of array functions https://github.com/apache/arrow-datafusion/tree/main/datafusion/functions-array/src Here is the rewrite https://github.com/apache/arrow-datafusion/blob/1e4ddb6d86328cb6596bb50da9ccc654f19a83ea/datafusion/functions-array/src/rewrite.rs#L40-L180 -- 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]
