ksql
ksql copied to clipboard
UDAFs cannot be created with non-primitive initial arguments
Describe the bug From a comment posted by @reneesoika in https://github.com/confluentinc/ksql/pull/9361#discussion_r933662030
initial args must be Literals
For example, if a user wanted to create a UDAF that appends values to an array (appendToArray(col, ARRAY[2, 4])
), they would not be able to.
Is @reneesoika working on solving this (by adding support for custom objects to variadics)?
No, allowing Object
in variadics won't affect initial args.