Extending binary operators in logical plans #11956
Answered
by
jonahgao
renzobautista
asked this question in
Q&A
-
Hi all, I'm currently using DataFusion to generate logical plans from a user-inputted SQL query. In my custom SQL implementation, I want to allow some binary operators (+,-,*,/) to take in strings as input (i.e. coercing Utf8 + Utf8 to Float64). Is this currently possible? I was able to customize other scalar functions and aggregations by making a UDF (e.g. for SUM, CEIL), but haven't found a way to do the same for binary operators. |
Beta Was this translation helpful? Give feedback.
Answered by
jonahgao
Aug 14, 2024
Replies: 1 comment 1 reply
-
Can customizing SQL planner meet your requirement? Here is an example. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
renzobautista
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can customizing SQL planner meet your requirement? Here is an example.