Skip to content

Conversation

@deepyaman
Copy link
Collaborator

@deepyaman deepyaman commented Dec 27, 2025

Resolves #2185

Summary

  1. Add support for decimals to the Ibis backend. There are some workarounds that should be removable once fix(datatypes): make decimal casts more permissive ibis-project/ibis#11818 is merged/released. (Update: I installed Ibis off main, undid the workarounds in tests/ibis/test_ibis_builtin_checks.py, and everything works; just need to update this once the new Ibis release is out then.)
  2. Add tests for built-in checks with decimals.

@codecov
Copy link

codecov bot commented Dec 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.81%. Comparing base (71255eb) to head (ff4a2aa).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2194      +/-   ##
==========================================
- Coverage   83.86%   83.81%   -0.06%     
==========================================
  Files         137      137              
  Lines       10607    10648      +41     
==========================================
+ Hits         8896     8925      +29     
- Misses       1711     1723      +12     

☔ 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.

@deepyaman deepyaman force-pushed the feat/ibis/decimal-dtype branch from 235b323 to 3b3ebf6 Compare January 5, 2026 02:34
@deepyaman deepyaman force-pushed the feat/ibis/decimal-dtype branch from 31a5fdb to aba77a6 Compare January 5, 2026 15:31
@deepyaman deepyaman marked this pull request as ready for review January 5, 2026 15:34
@deepyaman deepyaman requested a review from cosmicBboy January 5, 2026 15:34
@deepyaman deepyaman changed the title feat(ibis): add support for decimal type to engine Support the Decimal data type in the Ibis engine Jan 5, 2026
self.sample_numeric_data, "float64"
),
},
# TODO(deepyaman): Identify bugs with decimal comparison
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
# TODO(deepyaman): Identify bugs with decimal comparison

@deepyaman deepyaman force-pushed the feat/ibis/decimal-dtype branch from aba77a6 to ff4a2aa Compare January 6, 2026 06:06
"datatype": dt.Float64,
"data": self.convert_data(self.sample_numeric_data, "float64"),
},
# TODO(deepyaman): Enable once the decimal issue is resolved
Copy link
Collaborator

Choose a reason for hiding this comment

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

hey @deepyaman can you make an issue for this? (or is this an ibis issue?)

@cosmicBboy cosmicBboy merged commit 42a2b34 into unionai-oss:main Jan 6, 2026
223 of 224 checks passed
@deepyaman deepyaman deleted the feat/ibis/decimal-dtype branch January 6, 2026 16:15
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.

Ibis decimal dtype

2 participants