Skip to content

fix(udf): support bool return type in sync and async UDF code generation#1023

Open
DevineLiu wants to merge 2 commits intoArroyoSystems:masterfrom
DevineLiu:master
Open

fix(udf): support bool return type in sync and async UDF code generation#1023
DevineLiu wants to merge 2 commits intoArroyoSystems:masterfrom
DevineLiu:master

Conversation

@DevineLiu
Copy link

Fix UDF macro codegen to handle BooleanType correctly.
Arrow's BooleanType does not implement ArrowPrimitiveType, so using PrimitiveBuilder /PrimitiveArray fails to compile.
Add explicit DataType::Boolean arms in three locations within arroyo-udf-macros to use BooleanBuilder and BooleanArray instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant