Youjun Yuan created CALCITE-3395:

             Summary: add BuiltinMethod for Substring(String, int)
                 Key: CALCITE-3395
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Youjun Yuan

substring function has two versoins:

1, Substring(String, int, int)

2, Substring(String, int)

currently in, only the first one is defined. Need to define 
the second one as well, so that we can use both of them.

Apache Flink(FunctionGenerator.scala), reference the BuiltinMethod, since 
Calcite only defines 1, not 2, Flink always resolve SUBSTRING to 
Substring(String, int, int) even if there is only 2 parameters. This problem 
happens to be covered by method overloading of java, but it's still a potential 

This message was sent by Atlassian Jira

Reply via email to