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

    Constructors
    Constructor
    Description
     
    DrillConformance(org.apache.calcite.sql.validate.SqlConformanceEnum flavor)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isApplyAllowed in class org.apache.calcite.sql.validate.SqlAbstractConformance
    • isGroupByOrdinal

      public boolean isGroupByOrdinal()
      Specified by:
      isGroupByOrdinal in interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isGroupByOrdinal in class org.apache.calcite.sql.validate.SqlDelegatingConformance
    • isGroupByAlias

      public boolean isGroupByAlias()
      Specified by:
      isGroupByAlias in interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isGroupByAlias in class org.apache.calcite.sql.validate.SqlDelegatingConformance
    • isHavingAlias

      public boolean isHavingAlias()
      Specified by:
      isHavingAlias in interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isHavingAlias in class org.apache.calcite.sql.validate.SqlDelegatingConformance
    • isOffsetLimitAllowed

      public boolean isOffsetLimitAllowed()
      Specified by:
      isOffsetLimitAllowed in interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isOffsetLimitAllowed in class org.apache.calcite.sql.validate.SqlAbstractConformance
    • isLimitStartCountAllowed

      public boolean isLimitStartCountAllowed()
      Specified by:
      isLimitStartCountAllowed in interface org.apache.calcite.sql.validate.SqlConformance
      Overrides:
      isLimitStartCountAllowed in class org.apache.calcite.sql.validate.SqlAbstractConformance