package trees
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class DataFrameQueryContext(stackTrace: Seq[StackTraceElement], pysparkErrorContext: Option[(String, String)]) extends QueryContext with Product with Serializable
- case class Origin(line: Option[Int] = None, startPosition: Option[Int] = None, startIndex: Option[Int] = None, stopIndex: Option[Int] = None, sqlText: Option[String] = None, objectType: Option[String] = None, objectName: Option[String] = None, stackTrace: Option[Array[StackTraceElement]] = None, pysparkErrorContext: Option[(String, String)] = None) extends Product with Serializable
Contexts of TreeNodes, including location, SQL text, object type and object name.
Contexts of TreeNodes, including location, SQL text, object type and object name. The only supported object type is "VIEW" now. In the future, we may support SQL UDF or other objects which contain SQL text.
- case class SQLQueryContext(line: Option[Int], startPosition: Option[Int], originStartIndex: Option[Int], originStopIndex: Option[Int], sqlText: Option[String], originObjectType: Option[String], originObjectName: Option[String]) extends QueryContext with Product with Serializable
The class represents error context of a SQL query.
- trait WithOrigin extends AnyRef
Helper trait for objects that can be traced back to an Origin.
Value Members
- object CurrentOrigin
Provides a location for TreeNodes to ask about the context of their origin.
Provides a location for TreeNodes to ask about the context of their origin. For example, which line of code is currently being parsed.
- object PySparkCurrentOrigin
Provides detailed error context information on PySpark.