mihaibudiu commented on code in PR #3944:
URL: https://github.com/apache/calcite/pull/3944#discussion_r1741096083
##########
core/src/main/java/org/apache/calcite/sql/dialect/MssqlSqlDialect.java:
##########
@@ -47,9 +50,22 @@
* database.
*/
public class MssqlSqlDialect extends SqlDialect {
+ /**
+ * Mssql type system.
+ */
+ public static final RelDataTypeSystem MSSQL_TYPE_SYSTEM =
+ new RelDataTypeSystemImpl() {
+ @Override public int getDefaultPrecision(SqlTypeName typeName) {
+ if (typeName == SqlTypeName.CHAR) {
+ return RelDataType.PRECISION_NOT_SPECIFIED;
Review Comment:
indentation is off
--
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]