Class DrillConformance
java.lang.Object
org.apache.calcite.sql.validate.SqlAbstractConformance
org.apache.calcite.sql.validate.SqlDelegatingConformance
org.apache.drill.exec.planner.sql.DrillConformance
- All Implemented Interfaces:
org.apache.calcite.sql.validate.SqlConformance
public class DrillConformance
extends org.apache.calcite.sql.validate.SqlDelegatingConformance
Drill's SQL conformance is SqlConformanceEnum.DEFAULT with a couple of deviations.
-
Field Summary
Fields inherited from interface org.apache.calcite.sql.validate.SqlConformance
DEFAULT, ORACLE_10, PRAGMATIC_2003, PRAGMATIC_99, STRICT_2003, STRICT_92, STRICT_99
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Drill allows OUTER APPLY and CROSS APPLY to allow each row from left child of Join to join with output of right side (sub-query or table function that will be invoked for each row).boolean
boolean
boolean
boolean
boolean
Methods inherited from class org.apache.calcite.sql.validate.SqlDelegatingConformance
allowAliasUnnestItems, allowNiladicParentheses, isBangEqualAllowed, isFromRequired, isInsertSubsetColumnsAllowed, isMinusAllowed, isSortByAlias, isSortByAliasObscures, isSortByOrdinal, isValueAllowed, semantics
Methods inherited from class org.apache.calcite.sql.validate.SqlAbstractConformance
allowCharLiteralAlias, allowCoercionStringToArray, allowExplicitRowValueConstructor, allowExtend, allowExtendedTrim, allowGeometry, allowHyphenInUnquotedTableName, allowPluralTimeUnits, allowQualifyingCommonColumn, isLiberal, isPercentRemainderAllowed, shouldConvertRaggedUnionTypesToVarying, splitQuotedTableName
-
Constructor Details
-
DrillConformance
public DrillConformance() -
DrillConformance
public DrillConformance(org.apache.calcite.sql.validate.SqlConformanceEnum flavor)
-
-
Method Details
-
isApplyAllowed
public boolean isApplyAllowed()Drill allows OUTER APPLY and CROSS APPLY to allow each row from left child of Join to join with output of right side (sub-query or table function that will be invoked for each row). Refer to DRILL-5999 for more information.- Specified by:
isApplyAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isApplyAllowed
in classorg.apache.calcite.sql.validate.SqlAbstractConformance
-
isGroupByOrdinal
public boolean isGroupByOrdinal()- Specified by:
isGroupByOrdinal
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isGroupByOrdinal
in classorg.apache.calcite.sql.validate.SqlDelegatingConformance
-
isGroupByAlias
public boolean isGroupByAlias()- Specified by:
isGroupByAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isGroupByAlias
in classorg.apache.calcite.sql.validate.SqlDelegatingConformance
-
isHavingAlias
public boolean isHavingAlias()- Specified by:
isHavingAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isHavingAlias
in classorg.apache.calcite.sql.validate.SqlDelegatingConformance
-
isOffsetLimitAllowed
public boolean isOffsetLimitAllowed()- Specified by:
isOffsetLimitAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isOffsetLimitAllowed
in classorg.apache.calcite.sql.validate.SqlAbstractConformance
-
isLimitStartCountAllowed
public boolean isLimitStartCountAllowed()- Specified by:
isLimitStartCountAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
- Overrides:
isLimitStartCountAllowed
in classorg.apache.calcite.sql.validate.SqlAbstractConformance
-