DonnyZone commented on issue #1593: [CALCITE-3513] Unify TableFunction implementor's NullPolicy and its behavior URL: https://github.com/apache/calcite/pull/1593#issuecomment-558469714 Hi, @julianhyde, Current now, I adopt the approach as that in `ScalarFunctionImpl` to dynamically determines the `NullPolicy` based on annotation. But as shown in `TableFunctionTests`, it seems not to be reasonable when a table function returns `null`. The code generated (`org.apache.calcite.runtime.Enumerables.slice0(null)`) will produce NPE.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
