Skip to content

Conversation

@alancai98
Copy link
Contributor

Fixes #403.
Fixes #404.

Fix the parsing of multiple, consecutive path wildcard (e.g. a[*][*][*]), unpivot (e.g. a.*.*.*), and path expressions (e.g. a[1 + 2][3 + 4][5 + 6]). Previously these would not parse correctly.

Points the partiql-tests git submodule to partiql/partiql-tests#100 branch. Once that's merged, will rebase this PR to point to partiql-tests main.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@alancai98 alancai98 requested review from am357 and jpschorr July 6, 2023 18:38
@alancai98 alancai98 self-assigned this Jul 6, 2023
Copy link
Contributor

@am357 am357 left a comment

Choose a reason for hiding this comment

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

Nice fix and nice simplification as well! Thank you!

Co-authored-by: Arash Maymandi <[email protected]>
@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5629e88) 81.15% compared to head (34ba9cb) 81.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #405   +/-   ##
=======================================
  Coverage   81.15%   81.15%           
=======================================
  Files          56       56           
  Lines       14737    14737           
  Branches    14737    14737           
=======================================
  Hits        11960    11960           
  Misses       2260     2260           
  Partials      517      517           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented Jul 6, 2023

Conformance comparison report

Base (5629e88) 2948857 +/-
% Passing 83.39% 83.29% -0.10%
✅ Passing 5240 5264 24
❌ Failing 1044 1056 12
🔶 Ignored 0 0 0
Total Tests 6284 6320 36

Number passing in both: 5240

Number failing in both: 1044

Number passing in Base (5629e88) but now fail: 0

Number failing in Base (5629e88) but now pass: 0

@alancai98 alancai98 merged commit 0f49d1b into main Jul 6, 2023
@alancai98 alancai98 deleted the feat-fix-multiple-path-wildcard branch July 6, 2023 20:00
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.

Parse bug with consecutive PathExpr Parse bug with consecutive path wildcard

3 participants