Skip to content

Support TPC-H Q5 in BodoSQL C++ backend#886

Merged
ehsantn merged 14 commits intomainfrom
ehsan/bodosql_cpp_backend_q5
Oct 24, 2025
Merged

Support TPC-H Q5 in BodoSQL C++ backend#886
ehsantn merged 14 commits intomainfrom
ehsan/bodosql_cpp_backend_q5

Conversation

@ehsantn
Copy link
Collaborator

@ehsantn ehsantn commented Oct 17, 2025

Changes included in this PR

Fills gaps to run TPC-H Q5 end to end in the new BodoSQL C++ backend.

Testing strategy

Enabled Q5 unit test.

User facing changes

None (disabled).

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.

@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.91%. Comparing base (c33fbb5) to head (9099a87).
⚠️ Report is 91 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #886      +/-   ##
==========================================
+ Coverage   66.68%   68.91%   +2.22%     
==========================================
  Files         186      192       +6     
  Lines       66795    67378     +583     
  Branches     9507     9564      +57     
==========================================
+ Hits        44543    46432    +1889     
+ Misses      19572    18120    -1452     
- Partials     2680     2826     +146     

Copy link
Collaborator

@DrTodd13 DrTodd13 left a comment

Choose a reason for hiding this comment

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

thanks. lgtm

operands = java_call.getOperands()
left = java_expr_to_python_expr(operands[0], input_plan)
right = java_expr_to_python_expr(operands[1], input_plan)
# Calciate may add more than 2 operand for the same binary operator
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
# Calciate may add more than 2 operand for the same binary operator
# Calcite may add more than 2 operand for the same binary operator

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will fix in follow up PR.

Copy link
Contributor

@scott-routledge2 scott-routledge2 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @ehsantn !

@ehsantn ehsantn merged commit 4976335 into main Oct 24, 2025
27 checks passed
@ehsantn ehsantn deleted the ehsan/bodosql_cpp_backend_q5 branch October 24, 2025 14:43
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