XuQianJin-Stars commented on a change in pull request #1168: [CALCITE-3005] 
Implement string functions: LEFT, RIGHT
URL: https://github.com/apache/calcite/pull/1168#discussion_r276611604
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java
 ##########
 @@ -1508,6 +1508,24 @@ public SqlOperandCountRange getOperandCountRange() {
           OperandTypes.CHARACTER,
           SqlFunctionCategory.STRING);
 
+  public static final SqlFunction LEFT =
+      new SqlFunction(
+          "LEFT",
+          SqlKind.OTHER_FUNCTION,
+          ReturnTypes.VARCHAR_2000,
 
 Review comment:
   hi @julianhyde Thank you very much.It looks like there's a conflict between 
String's LEFT semantics and LEFT JOIN semantics.I am not sure how to solve this 
problem. Could you give me some advice?
   best
   qianjin

----------------------------------------------------------------
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

Reply via email to