Skip to content

Conversation

@cfmcgrady
Copy link
Contributor

Which issue does this PR close?

Closes #2476 .

Rationale for this change

What changes are included in this PR?

fallback reverse function with ArrayType input

How are these changes tested?

added ut

sql(
"create table t1 using parquet as select sequence(id, id) as c1 from range(10)")
// FIXME: Change checkSparkAnswer to checkSparkAnswerAndOperator after resolving
// https://github.com/apache/datafusion-comet/issues/2476
Copy link
Member

Choose a reason for hiding this comment

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

If this PR closes #2476, could you create a new issue to track adding support for ArrayType input in reverse?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Filed a new issue #2478 for tracking reverse function with ArrayType input support.

@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.42%. Comparing base (f09f8af) to head (fb04747).
⚠️ Report is 549 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2477      +/-   ##
============================================
+ Coverage     56.12%   58.42%   +2.29%     
- Complexity      976     1437     +461     
============================================
  Files           119      146      +27     
  Lines         11743    13513    +1770     
  Branches       2251     2351     +100     
============================================
+ Hits           6591     7895    +1304     
- Misses         4012     4389     +377     
- Partials       1140     1229      +89     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cfmcgrady
Copy link
Contributor Author

Close this PR in favor of #2481

@cfmcgrady cfmcgrady closed this Sep 29, 2025
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.

Reverse function throws exception with ArrayType input

3 participants