Class SnowflakeDialect
- java.lang.Object
-
- org.apache.calcite.sql.SqlDialect
-
- org.apache.calcite.sql.dialect.SnowflakeSqlDialect
-
- com.amazonaws.athena.connectors.snowflake.SnowflakeDialect
-
public class SnowflakeDialect extends org.apache.calcite.sql.dialect.SnowflakeSqlDialectSnowflake-specific SQL dialect with catalog casing filter support. Uses double quote (") for identifier quoting.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.sql.SqlDialectDEFAULT
-
Constructor Summary
Constructors Constructor Description SnowflakeDialect(boolean catalogCasingFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderquoteIdentifier(StringBuilder buf, String identifier)-
Methods inherited from class org.apache.calcite.sql.dialect.SnowflakeSqlDialect
rewriteMaxMin, rewriteMaxMinExpr, supportsApproxCountDistinct, unparseCall, unparseOffsetFetch
-
Methods inherited from class org.apache.calcite.sql.SqlDialect
allowsAs, configureParser, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirection, emulateNullDirectionWithIsNull, getCalendarPolicy, getCastSpec, getConformance, getDatabaseProduct, getFormatModel, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getTypeSystem, getUnquotedCasing, hasImplicitTableAlias, identifierNeedsQuote, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, requiresAliasForFromItems, rewriteSingleValueExpr, supportBooleanCaseWhen, supportsAggregateFunction, supportsAggregateFunctionFilter, supportsAliasedValues, supportsCharSet, supportsDataType, supportsFunction, supportsGroupByLiteral, supportsGroupByWithCube, supportsGroupByWithRollup, supportsImplicitTypeCoercion, supportsJoinType, supportsNestedAggregations, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseSqlDatetimeArithmetic, unparseSqlIntervalLiteral, unparseSqlIntervalQualifier, unparseSqlSetOption, unparseTableScanHints, unparseTopN, unquoteStringLiteral
-
-
-
-
Method Detail
-
quoteIdentifier
public StringBuilder quoteIdentifier(StringBuilder buf, String identifier)
- Overrides:
quoteIdentifierin classorg.apache.calcite.sql.SqlDialect
-
-