Packages

trait CheckAnalysis extends LookupCatalog with QueryErrorsBase with PlanToString

Throws user facing errors when passed invalid queries that fail to analyze.

Linear Supertypes
PlanToString, QueryErrorsBase, DataTypeErrorsBase, LookupCatalog, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CheckAnalysis
  2. PlanToString
  3. QueryErrorsBase
  4. DataTypeErrorsBase
  5. LookupCatalog
  6. Logging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Abstract Value Members

  1. abstract val catalogManager: CatalogManager
    Attributes
    protected
    Definition Classes
    LookupCatalog
  2. abstract def isView(nameParts: Seq[String]): Boolean
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DATA_TYPE_MISMATCH_ERROR: TreeNodeTag[Unit]
  5. val INVALID_FORMAT_ERROR: TreeNodeTag[Unit]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkAnalysis(plan: LogicalPlan): Unit
  8. def checkAnalysis0(plan: LogicalPlan): Unit
  9. def checkSubqueryExpression(plan: LogicalPlan, expr: SubqueryExpression): Unit
  10. def checkTrailingCommaInSelect(plan: LogicalPlan, starRemoved: Boolean = false): Unit

    Checks for errors in a SELECT clause, such as a trailing comma or an empty select list.

    Checks for errors in a SELECT clause, such as a trailing comma or an empty select list.

    plan

    The logical plan of the query.

    starRemoved

    Whether a '*' (wildcard) was removed from the select list.

    Attributes
    protected
    Exceptions thrown

    AnalysisException if the select list is empty or ends with a trailing comma.

  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  12. def currentCatalog: CatalogPlugin

    Returns the current catalog set.

    Returns the current catalog set.

    Definition Classes
    LookupCatalog
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. val extendedCheckRules: Seq[(LogicalPlan) => Unit]

    Override to provide additional checks for correct analysis.

    Override to provide additional checks for correct analysis. These rules will be evaluated after our built-in check rules.

  16. def failAnalysis(errorClass: String, messageParameters: Map[String, String]): Nothing

    Fails the analysis at the point where a specific tree node was parsed using a provided error class and message parameters.

  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def getQueryContext(context: QueryContext): Array[QueryContext]
    Definition Classes
    DataTypeErrorsBase
  19. def getSummary(sqlContext: QueryContext): String
    Definition Classes
    DataTypeErrorsBase
  20. def hasMapType(dt: DataType): Boolean
    Attributes
    protected
  21. def hasVariantType(dt: DataType): Boolean
    Attributes
    protected
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  23. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  28. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  41. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  42. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def mapColumnInSetOperation(plan: LogicalPlan): Option[Attribute]
    Attributes
    protected
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  53. def ordinalNumber(i: Int): String
    Definition Classes
    QueryErrorsBase
  54. def planToString(plan: LogicalPlan): String
    Attributes
    protected
    Definition Classes
    PlanToString
  55. val preemptedError: PreemptedError
  56. def quoteByDefault(elem: String): String
    Attributes
    protected
    Definition Classes
    DataTypeErrorsBase
  57. def scrubOutIds(string: String): String
    Attributes
    protected
    Definition Classes
    PlanToString
  58. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  59. def toDSOption(option: String): String
    Definition Classes
    DataTypeErrorsBase
  60. def toSQLConf(conf: String): String
    Definition Classes
    DataTypeErrorsBase
  61. def toSQLConfVal(conf: String): String
    Definition Classes
    QueryErrorsBase
  62. def toSQLExpr(e: Expression): String
    Definition Classes
    QueryErrorsBase
  63. def toSQLId(parts: Seq[String]): String
    Definition Classes
    DataTypeErrorsBase
  64. def toSQLId(parts: String): String
    Definition Classes
    DataTypeErrorsBase
  65. def toSQLStmt(text: String): String
    Definition Classes
    DataTypeErrorsBase
  66. def toSQLType(t: AbstractDataType): String
    Definition Classes
    DataTypeErrorsBase
  67. def toSQLType(text: String): String
    Definition Classes
    DataTypeErrorsBase
  68. def toSQLValue(v: Any, t: DataType): String
    Definition Classes
    QueryErrorsBase
  69. def toSQLValue(value: Double): String
    Definition Classes
    DataTypeErrorsBase
  70. def toSQLValue(value: Float): String
    Definition Classes
    DataTypeErrorsBase
  71. def toSQLValue(value: Long): String
    Definition Classes
    DataTypeErrorsBase
  72. def toSQLValue(value: Int): String
    Definition Classes
    DataTypeErrorsBase
  73. def toSQLValue(value: Short): String
    Definition Classes
    DataTypeErrorsBase
  74. def toSQLValue(value: UTF8String): String
    Definition Classes
    DataTypeErrorsBase
  75. def toSQLValue(value: String): String
    Definition Classes
    DataTypeErrorsBase
  76. def toString(): String
    Definition Classes
    AnyRef → Any
  77. def variantColumnInSetOperation(plan: LogicalPlan): Option[Attribute]
    Attributes
    protected
  78. def variantExprInPartitionExpression(plan: LogicalPlan): Option[Expression]
    Attributes
    protected
  79. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  80. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  83. object AsTableIdentifier

    Extract legacy table identifier from a multi-part identifier.

    Extract legacy table identifier from a multi-part identifier.

    For legacy support only. Please use CatalogAndIdentifier instead on DSv2 code paths.

    Definition Classes
    LookupCatalog
  84. object CatalogAndIdentifier

    Extract catalog and identifier from a multi-part name with the current catalog if needed.

    Extract catalog and identifier from a multi-part name with the current catalog if needed. Catalog name takes precedence over identifier, but for a single-part name, identifier takes precedence over catalog name.

    Note that, this pattern is used to look up permanent catalog objects like table, view, function, etc. If you need to look up temp objects like temp view, please do it separately before calling this pattern, as temp objects don't belong to any catalog.

    Definition Classes
    LookupCatalog
  85. object CatalogAndNamespace

    Extract catalog and namespace from a multi-part name with the current catalog if needed.

    Extract catalog and namespace from a multi-part name with the current catalog if needed. Catalog name takes precedence over namespaces.

    Definition Classes
    LookupCatalog
  86. object NonSessionCatalogAndIdentifier

    Extract non-session catalog and identifier from a multi-part identifier.

    Extract non-session catalog and identifier from a multi-part identifier.

    Definition Classes
    LookupCatalog
  87. object SessionCatalogAndIdentifier

    Extract session catalog and identifier from a multi-part identifier.

    Extract session catalog and identifier from a multi-part identifier.

    Definition Classes
    LookupCatalog

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from PlanToString

Inherited from QueryErrorsBase

Inherited from DataTypeErrorsBase

Inherited from LookupCatalog

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped