v0.14 to v1 Parser Migration
If there are inaccuracies discovered with this documentation, please submit a GitHub issue. |
This guide is intended to cover the differences between the PartiQLParser
interfaces used in partiql-lang-kotlin v0.14 and partiql-lang-kotlin v1.
Major Changes
Initialization
PartiQLParser.default()
was renamed to PartiQLParser.standard()
to be consistent with static factory methods in the rest of the codebase.
Parsed AST
V1 now supports parsing multiple SQL statements in one parse
call. A list of parsed AST statements is returned in the PartiQLParser.Result
. The AST classes are refactored to different representations to support better backwards-compatibility. For more details on using the AST, please refer to AST Manipulation