lirui-apache commented on issue #11494: [FLINK-16732][hive] Failed to call Hive 
UDF with constant return value
   > Have Other functions this risk?
   I'm not sure about that, to be honest.
   In this specific case, the constant OI is created by 
`GenericUDF::initializeAndFoldConstants` and we use it to inspect the result 
returned by `GenericUDFStringToMap` and hit the problem. I think it's not safe 
to use OI in that way and add the check in this PR.
   But not all functions have this problem. Perhaps the only way to find out is 
through more tests.

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.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to