You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/03/05 18:27:30 UTC

[GitHub] [calcite] amaliujia commented on issue #1083: [CALCITE-2889] IndexOutOfBoundsException thrown if targetTypes[] contains varargs

amaliujia commented on issue #1083: [CALCITE-2889] IndexOutOfBoundsException thrown if targetTypes[] contains varargs
URL: https://github.com/apache/calcite/pull/1083#issuecomment-469796188
 
 
   @zabetak 
   
   In BeamSQL, we support UDF by [this way](https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/ScalarFunctionImpl.java#L122). We also use Calcite to generate java code for SQL functions (see [here](https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel.java#L149)).
   
   Basically `ReflectiveCallNotNullImplementor` is the one to convert UDF in BeamSQL to Expression.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services