Expand description
Parser for the structural part of the Substrait file format.
This is the overall parser for parsing the text format. It is responsible for tracking which section of the file we are currently parsing, and parsing each line separately.
Structs§
- Indented
Line - Represents an input line, trimmed of leading two-space indents and final whitespace. Contains the number of indents and the trimmed line.
- Line
Node - Represents a line in the
Plan
tree structure before it’s converted to a relation. This allows us to build the tree structure first, then convert to relations with proper parent-child relationships. - Parse
Context - Parser
- A parser for Substrait query plans in text format.
- Relation
Parser - Tree
Builder
Enums§
Constants§
Functions§
- get_
input_ 🔒field_ count - Helper function to get the number of input fields from a relation. This is needed for Project relations to calculate output mapping indices.