Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes scan_indexed and adds PIVOT #1297

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Fixes scan_indexed and adds PIVOT #1297

merged 2 commits into from
Dec 12, 2023

Conversation

rchowell
Copy link
Contributor

Description

  • Fixes typo which was using scan instead of scan_indexed
  • Adds static typing of the PIVOT projection

Other Information

  • Updated Unreleased Section in CHANGELOG: [YES/NO]
    No

  • Any backward-incompatible changes? [YES/NO]
    No

  • Any new external dependencies? [YES/NO]
    No

  • Do your changes comply with the Contributing Guidelines
    and Code Style Guidelines? [YES/NO]
    Yes

License Information

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

@rchowell rchowell requested a review from alancai98 December 12, 2023 19:48
Copy link

github-actions bot commented Dec 12, 2023

Conformance comparison report

Base (55c7a2a) 3f193a1 +/-
% Passing 92.54% 92.54% 0.00%
✅ Passing 5384 5384 0
❌ Failing 434 434 0
🔶 Ignored 0 0 0
Total Tests 5818 5818 0

Number passing in both: 5384

Number failing in both: 434

Number passing in Base (55c7a2a) but now fail: 0

Number failing in Base (55c7a2a) but now pass: 0

@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (55c7a2a) 72.21% compared to head (933aa5f) 72.21%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1297   +/-   ##
=========================================
  Coverage     72.21%   72.21%           
  Complexity     2100     2100           
=========================================
  Files           222      222           
  Lines         16019    16019           
  Branches       2891     2891           
=========================================
  Hits          11568    11568           
  Misses         3635     3635           
  Partials        816      816           
Flag Coverage Δ
CLI 13.43% <ø> (ø)
EXAMPLES 80.28% <ø> (ø)
LANG 80.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -418,6 +418,36 @@ class PartiQLSchemaInferencerTests {
)
)
),
SuccessTestCase(
Copy link
Member

Choose a reason for hiding this comment

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

These two tests are under the selectStar testing function. Perhaps they should be added in a different testing function or their own testing function?

@rchowell rchowell merged commit ebfc93f into main Dec 12, 2023
@rchowell rchowell deleted the fix-scan branch December 12, 2023 21:20
alancai98 added a commit that referenced this pull request Dec 12, 2023
* Adds support for EXCLUDE in the SqlDialect

* fix typer/transfomrer

* Fix Timestamp Type Parsing Issue. (#1284)

* fix timestamp type parsing issue

* Refactors partiql-tests-runner for multiple engines (#1289)

* Adds int32 and int64 variants of date_add (#1291)

* Adds support for DISTINCT in the Planner

* Fix PlanCompiler output type for DISTINCT + ORDER BY (#1298)

* Fixes scan_indexed and adds PIVOT (#1297)

* Port filter_distinct fix to partiql-eval internal

---------

Co-authored-by: John Ed Quinn <johqunn@amazon.com>
Co-authored-by: Yingtao Liu <yliuuu@amazon.com>
Co-authored-by: yliuuuu <107505258+yliuuuu@users.noreply.github.com>
Co-authored-by: John Ed Quinn <40360967+johnedquinn@users.noreply.github.com>
Co-authored-by: R. C. Howell <RCHowell@users.noreply.github.com>
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.

3 participants