Skip to content

Adding DDB attribute type and making its parsing strict. Adding helpe… - #1676

Open
aschenzle wants to merge 6 commits into
masterfrom
pr/ddb-heuristics-base-work
Open

Adding DDB attribute type and making its parsing strict. Adding helpe…#1676
aschenzle wants to merge 6 commits into
masterfrom
pr/ddb-heuristics-base-work

Conversation

@aschenzle

Copy link
Copy Markdown
Collaborator

…r functions for the heuristic calculator so they can be reviewed in advance.

…r functions for the heuristic calculator so they can be reviewed in advance.
@aschenzle
aschenzle requested a review from jgaleotti August 12, 2026 22:10
* @param chunk one field-and-index component of a DynamoDB document path
* @return parsed field name and indexes to traverse
*/
private static ParsedChunk parseChunk(String chunk) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can chuck be null?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also this method seems quite a low level parser. Why can this be resolved by the dynamoDB parser?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a parser for Query Results (i.e. items) only for ConditionExpression, should I try to create a new parser using ANTLR4 (or reuse part of the Condition definition?).

@aschenzle
aschenzle requested a review from jgaleotti August 13, 2026 15:09
@jgaleotti
jgaleotti requested a review from arcuri82 August 14, 2026 20:20
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.

2 participants