Class BigQueryCustomSqlDialect
- java.lang.Object
-
- org.apache.calcite.sql.SqlDialect
-
- org.apache.calcite.sql.dialect.BigQuerySqlDialect
-
- com.amazonaws.athena.connectors.google.bigquery.BigQueryCustomSqlDialect
-
public class BigQueryCustomSqlDialect extends org.apache.calcite.sql.dialect.BigQuerySqlDialectCustom BigQuery SQL dialect that handles identifier casing based on CATALOG_CASING_FILTER configuration. Extends BigQuerySqlDialect to preserve all BigQuery-specific SQL generation (LIMIT syntax, etc).
-
-
Constructor Summary
Constructors Constructor Description BigQueryCustomSqlDialect(boolean catalogCasingFilterUpperCase)Creates a custom BigQuery dialect with specified casing mode
-
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.BigQuerySqlDialect
configureParser, getCastSpec, getFormatModel, getTypeSystem, identifierNeedsQuote, supportsAggregateFunctionFilter, supportsAliasedValues, supportsApproxCountDistinct, supportsImplicitTypeCoercion, supportsNestedAggregations, unparseCall, unparseOffsetFetch, unparseSqlIntervalLiteral, unparseSqlIntervalQualifier
-
Methods inherited from class org.apache.calcite.sql.SqlDialect
allowsAs, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirection, emulateNullDirectionWithIsNull, getCalendarPolicy, getConformance, getDatabaseProduct, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getUnquotedCasing, hasImplicitTableAlias, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, requiresAliasForFromItems, rewriteMaxMin, rewriteMaxMinExpr, rewriteSingleValueExpr, supportBooleanCaseWhen, supportsAggregateFunction, supportsCharSet, supportsDataType, supportsFunction, supportsGroupByLiteral, supportsGroupByWithCube, supportsGroupByWithRollup, supportsJoinType, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseSqlDatetimeArithmetic, unparseSqlSetOption, unparseTableScanHints, unparseTopN, unquoteStringLiteral
-
-
-
-
Method Detail
-
quoteIdentifier
public StringBuilder quoteIdentifier(StringBuilder buf, String identifier)
- Overrides:
quoteIdentifierin classorg.apache.calcite.sql.SqlDialect
-
-