Package org.partiql.lang.planner.transforms

Types

Link copied to clipboard
class PlannerSession(queryId: String, userId: String, currentCatalog: String?, currentDirectory: List<String>, catalogConfig: Map<String, StructElement>, instant: Instant)

Contains session information for the purposes of planning.

Functions

Link copied to clipboard
fun PartiqlPhysical.Expr.isLitTrue(): Boolean

Returns true if the receiver is (lit true).

Link copied to clipboard
fun PartiqlAst.Statement.normalize(): PartiqlAst.Statement

Executes several Visitor Transforms on the AST

Properties

Link copied to clipboard
const val PLAN_VERSION_NUMBER: String

This is the semantic version number of the logical and physical plans supported by this version of PartiQL. This deals only with compatibility of trees that have been persisted as s-expressions with their PIG-generated classes. The format is: <major>.<minor>. One or both of these will need to be changed when the following events happen: