Skip to content

Conversation

@Marwes
Copy link
Contributor

@Marwes Marwes commented Sep 23, 2022

Should make it possible to enable the strict null logical ops when compiling the executor instead of branching inside the executor itself.

Checklist

Dear Author 👋, the following checks should be completed (or explicitly dismissed) before merging.

  • ✏️ Write a PR description, regardless of triviality, to include the value of this PR
  • 🔗 Reference related issues
  • 🏃 Test cases are included to exercise the new code
  • 🧪 If new packages are being introduced to stdlib, link to Working Group discussion notes and ensure it lands under experimental/
  • 📖 If language features are changing, ensure docs/Spec.md has been updated

Dear Reviewer(s) 👋, you are responsible (among others) for ensuring the completeness and quality of the above before approval.

@Marwes Marwes requested a review from onelson September 23, 2022 11:52
@Marwes Marwes requested a review from a team as a code owner September 23, 2022 11:52
@Marwes
Copy link
Contributor Author

Marwes commented Sep 23, 2022

A bit tedious to drag the context through everywhere here since this compiler should be removed eventually, but I'd expect the context to be wanted in whatever replaces it anyway so.

Copy link
Contributor

@onelson onelson left a comment

Choose a reason for hiding this comment

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

On a superficial level, this looks to me as just what is needed.

I'm not sure what we can do to verify the change other than to rely on the existing suite, and maybe merge it after the next release so we can have a week to run it ourselves with the hope that anything lacking will surface during that time.

@Marwes Marwes force-pushed the feature_flag_in_compiler branch from 9771c10 to f3d84df Compare September 26, 2022 16:34
@Marwes Marwes merged commit e38a1c5 into master Sep 27, 2022
@Marwes Marwes deleted the feature_flag_in_compiler branch September 27, 2022 10:05
onelson pushed a commit that referenced this pull request Sep 28, 2022
A new version of our logical evaluator was introduced in an effort to
re-align the lang with the spec regarding nulls. Ref:
<#5192>

The "strict null" flavor of the logical evaluator was
bypassed as part of a perf regression investigation. Ref:
<#5221>

The thought was checking the feature flag with each eval was adding
overhead and raising query latency, but with a susequent refactor
(<#5222>) we are now able to
check the flag earlier, reducing the overhead.
@onelson onelson mentioned this pull request Sep 28, 2022
5 tasks
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