xuzifu666 commented on code in PR #4818:
URL: https://github.com/apache/calcite/pull/4818#discussion_r2902831529
##########
core/src/main/java/org/apache/calcite/sql/dialect/HiveSqlDialect.java:
##########
@@ -129,6 +129,9 @@ public HiveSqlDialect(Context context) {
case TRIM:
RelToSqlConverterUtil.unparseHiveTrim(writer, call, leftPrec, rightPrec);
break;
+ case REGEXP:
Review Comment:
Based on your Jira description, is it true that ```select brand_name from
product where REGEXP(brand_name,'[a-zA-Z]')``` won't work in Hive? It needs to
be converted to ```select brand_name from product where brand_name REGEXP
'[a-zA-Z]'```.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]