mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 20:25:12 +00:00
(improvement)(headless) remove null collation config (#622)
This commit is contained in:
@@ -2,7 +2,6 @@ package com.tencent.supersonic.headless.core.parser.calcite.schema;
|
|||||||
|
|
||||||
import com.google.common.base.Preconditions;
|
import com.google.common.base.Preconditions;
|
||||||
import org.apache.calcite.avatica.util.Casing;
|
import org.apache.calcite.avatica.util.Casing;
|
||||||
import org.apache.calcite.config.NullCollation;
|
|
||||||
import org.apache.calcite.sql.SqlDialect;
|
import org.apache.calcite.sql.SqlDialect;
|
||||||
import org.apache.calcite.sql.SqlIntervalLiteral;
|
import org.apache.calcite.sql.SqlIntervalLiteral;
|
||||||
import org.apache.calcite.sql.SqlNode;
|
import org.apache.calcite.sql.SqlNode;
|
||||||
@@ -20,7 +19,6 @@ public class SemanticSqlDialect extends SqlDialect {
|
|||||||
.withLiteralQuoteString("'")
|
.withLiteralQuoteString("'")
|
||||||
.withLiteralEscapedQuoteString("''")
|
.withLiteralEscapedQuoteString("''")
|
||||||
.withIdentifierQuoteString("`")
|
.withIdentifierQuoteString("`")
|
||||||
.withNullCollation(NullCollation.LOW)
|
|
||||||
.withUnquotedCasing(Casing.UNCHANGED)
|
.withUnquotedCasing(Casing.UNCHANGED)
|
||||||
.withQuotedCasing(Casing.UNCHANGED)
|
.withQuotedCasing(Casing.UNCHANGED)
|
||||||
.withCaseSensitive(false);
|
.withCaseSensitive(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user