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

Ports evaluation changes to v1 plans #1573

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Ports evaluation changes to v1 plans #1573

merged 3 commits into from
Sep 6, 2024

Conversation

rchowell
Copy link
Contributor

Relevant Issues

#1548

Description

This PR applies the modifications to the v1.plan package which we needed to switch the intermediate representation used for execution.

It adds,

  • dynamic calls
  • exclude
  • paths
  • nullif

There are cleanup TODOs for several things we needed to pass existing tests with minimal changes, these include

  • removal of nullif?
  • fix subqueries in planner
  • join schemas?

Other Information

License Information

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (v1@53098ee). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff          @@
##             v1    #1573   +/-   ##
=====================================
  Coverage      ?   77.23%           
  Complexity    ?     2514           
=====================================
  Files         ?      253           
  Lines         ?    18563           
  Branches      ?     3523           
=====================================
  Hits          ?    14337           
  Misses        ?     3192           
  Partials      ?     1034           
Flag Coverage Δ
EXAMPLES 80.07% <ø> (?)
LANG 77.15% <ø> (?)

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.

@@ -13,7 +12,7 @@ public interface RelScan : Rel {

override fun getChildren(): Collection<Rel> = emptyList()

override fun isOrdered(): Boolean = getInput().getType().kind == PType.Kind.ARRAY
override fun isOrdered(): Boolean = false
Copy link
Member

Choose a reason for hiding this comment

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

Why has this been removed?

Copy link
Contributor 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 typing of the nodes, so this would throw an exception.

Copy link

github-actions bot commented Sep 5, 2024

CROSS-ENGINE Conformance Report ❌

BASE (EVAL-829611E) TARGET (LEGACY-829611E) +/-
% Passing 94.22% 89.65% -4.56% ⭕
Passing 5555 5286 -269 ⭕
Failing 74 610 536 ⭕
Ignored 267 0 -267 ✅
Total Tests 5896 5896 0 ✅

Testing Details

  • Base Commit: 829611e
  • Base Engine: EVAL
  • Target Commit: 829611e
  • Target Engine: LEGACY

Result Details

  • ❌ REGRESSION DETECTED. See Now Failing Tests. ❌
  • Passing in both: 5019
  • Failing in both: 74
  • PASSING in BASE but now FAILING in TARGET: 536
  • FAILING in BASE but now PASSING in TARGET: 0

Now Failing Tests ❌

The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact.

CROSS-COMMIT-EVAL Conformance Report ✅

BASE (EVAL-A54F6AD) TARGET (EVAL-829611E) +/-
% Passing 94.22% 94.22% 0.00% ✅
Passing 5555 5555 0 ✅
Failing 74 74 0 ✅
Ignored 267 267 0 ✅
Total Tests 5896 5896 0 ✅

Testing Details

  • Base Commit: a54f6ad
  • Base Engine: EVAL
  • Target Commit: 829611e
  • Target Engine: EVAL

Result Details

  • Passing in both: 5555
  • Failing in both: 74
  • PASSING in BASE but now FAILING in TARGET: 0
  • FAILING in BASE but now PASSING in TARGET: 0

CROSS-COMMIT-LEGACY Conformance Report ✅

BASE (LEGACY-A54F6AD) TARGET (LEGACY-829611E) +/-
% Passing 89.65% 89.65% 0.00% ✅
Passing 5286 5286 0 ✅
Failing 610 610 0 ✅
Ignored 0 0 0 ✅
Total Tests 5896 5896 0 ✅

Testing Details

  • Base Commit: a54f6ad
  • Base Engine: LEGACY
  • Target Commit: 829611e
  • Target Engine: LEGACY

Result Details

  • Passing in both: 5286
  • Failing in both: 610
  • PASSING in BASE but now FAILING in TARGET: 0
  • FAILING in BASE but now PASSING in TARGET: 0

Comment on lines 436 to 443
<<<<<<< HEAD
=======
* TODO REMOVE ME
*/
public fun rexNullIf(value: Rex, nullifier: Rex): RexNullIf = RexNullIfImpl(value, nullifier)

/**
>>>>>>> c2cc48d5 (Ports evaluation changes to v1 plans)
Copy link
Member

Choose a reason for hiding this comment

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

some remaining merge conflict?

@rchowell rchowell merged commit 1dbb203 into v1 Sep 6, 2024
14 checks passed
@rchowell rchowell deleted the v1-plan-exclude branch September 6, 2024 00:02
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.

4 participants