Skip to content

RelationTimeTravel Logical Operator

RelationTimeTravel is an unresolved logical operator (UnresolvedLeafNode) to "mark a need" to time travel the child relation to the given timestamp or version.

RelationTimeTravel represents the following in table identifiers in a SQL query:

  • FOR? (SYSTEM_VERSION | VERSION) AS OF version
  • FOR? (SYSTEM_TIME | TIMESTAMP) AS OF timestamp

Creating Instance

RelationTimeTravel takes the following to be created:

RelationTimeTravel is created when:

nodePatterns

TreeNode
nodePatterns: Seq[TreePattern]

nodePatterns is part of the TreeNode abstraction.

nodePatterns is the following TreePattern:

Logical Analysis

RelationTimeTravel is a target of the following logical rules: