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

Simplify code quality in BodoRexSimplify #136

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Conversation

njriasan
Copy link
Contributor

@njriasan njriasan commented Jan 13, 2025

Changes included in this PR

Aims to cleanup minor code details to have better examples for extending rex simplification.

Testing strategy

Depends on PR CI.

User facing changes

Checklist

  • Pipelines passed before requesting review. To run CI you must include [run CI] in your commit message.
  • I am familiar with the Contributing Guide
  • I have installed + ran pre-commit hooks.

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@bb0bdb3). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #136   +/-   ##
=======================================
  Coverage        ?   77.87%           
=======================================
  Files           ?      160           
  Lines           ?    62017           
  Branches        ?     8745           
=======================================
  Hits            ?    48295           
  Misses          ?    11596           
  Partials        ?     2126           

Copy link
Contributor

@IsaacWarren IsaacWarren left a comment

Choose a reason for hiding this comment

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

Thanks Nick, only comment is formatting, this looks like it uses 4 space indent when I thought calcite uses 2, maybe this file is just misformatted?

@njriasan
Copy link
Contributor Author

Thanks Nick, only comment is formatting, this looks like it uses 4 space indent when I thought calcite uses 2, maybe this file is just misformatted?

This actually our file. One thing we should fix is that right now we say "don't apply the formatter on any Calcite source files", but ideally we could either apply Calcite's formatter to our files that we insert in their package (my preference) or just apply our formatter.

@njriasan njriasan merged commit 5792f61 into main Jan 14, 2025
21 of 23 checks passed
@njriasan njriasan deleted the nick/cleanup_simplify branch January 14, 2025 16:45
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