jcamachor commented on a change in pull request #1828: [CALCITE-3734] MySQL 
JDBC rewrite is producing queries with CHAR with range beyond 255 (Vineet Garg)
URL: https://github.com/apache/calcite/pull/1828#discussion_r384131233
 
 

 ##########
 File path: 
core/src/main/java/org/apache/calcite/sql/dialect/MysqlSqlDialect.java
 ##########
 @@ -67,7 +84,7 @@
 
   /** Creates a MysqlSqlDialect. */
   public MysqlSqlDialect(Context context) {
-    super(context);
+    super(context.withDataTypeSystem(MYSQL_TYPE_SYSTEM));
 
 Review comment:
   No need for this, dialects just propagate the context.

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