Skip to content

Comments

[do not merge] Add PartiQL interpreter components#96

Closed
juanhenaoparra wants to merge 2 commits intotruora:mainfrom
juanhenaoparra:feat/partiql-support
Closed

[do not merge] Add PartiQL interpreter components#96
juanhenaoparra wants to merge 2 commits intotruora:mainfrom
juanhenaoparra:feat/partiql-support

Conversation

@juanhenaoparra
Copy link
Contributor

What: Introduced a complete PartiQL interpreter including lexer, parser, evaluator, and AST structures for SQL-compatible queries on DynamoDB.

Why: To enable parsing, evaluating, and executing PartiQL statements such as SELECT, INSERT, UPDATE, and DELETE.

Includes:

  • Lexer for tokenizing input
  • Parser for constructing AST from tokens
  • Evaluator for executing statements
  • AST definitions for various SQL constructs

This foundational work supports future enhancements and testing of PartiQL features.

What: Introduced a complete PartiQL interpreter including lexer, parser, evaluator, and AST structures for SQL-compatible queries on DynamoDB.

Why: To enable parsing, evaluating, and executing PartiQL statements such as SELECT, INSERT, UPDATE, and DELETE.

Includes:
- Lexer for tokenizing input
- Parser for constructing AST from tokens
- Evaluator for executing statements
- AST definitions for various SQL constructs

This foundational work supports future enhancements and testing of PartiQL features.
What: Implemented methods for executing PartiQL statements including ExecuteStatement, BatchExecuteStatement, and ExecuteTransaction in the FakeClient interface.

Why: To enable the execution of SQL-compatible queries on DynamoDB, supporting operations like SELECT, INSERT, UPDATE, and DELETE.

Includes:
- Execution logic for SELECT and INSERT statements
- Basic structure for UPDATE and DELETE with error handling
- Batch execution support for multiple PartiQL statements

This enhancement builds on the previously introduced PartiQL interpreter components.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant