Comments (2)
TODO: If the PR #666 merges in before this issues is corrected, the following examples in the examples/tpch
folder will need to be updated
- q01_pricing_summary_report.py
- q04_order_priority_checking.py
- q05_local_supplier_volume.py
- q06_forecasting_revenue_change.py
- q10_returned_item_reporting.py
- q12_ship_mode_order_priority.py
- q14_promotion_effect.py
- q15_top_supplier.py
- q20_potential_part_promotion.py
from datafusion-python.
It's probably related to this issue in arrow-rs: Rust Interval definition is incorrect.
Here's a godbolt link demonstrating the "1 month becomes 1 nanosecond" example. (I based that on a comment in a similar thread in duckdb-wasm).
I would suspect that if all code paths use the same impl, then datafusion-python
wouldn't notice it, but perhaps that's wrong, or maybe not all code-paths use arrow-rs?
The error occurs in the pyo3 magic as we cross the python -> rust
bridge. Notice the python side assert's pyarrow.Scalar
, but then the rust-side receives a datafusion::ScalarValue
. (aside: is this magic type conversion intentional?)
python side:
datafusion-python/datafusion/__init__.py
Lines 182 to 185 in 67d4cfb
rust side:
Lines 229 to 232 in 67d4cfb
The error is already present before the rust-method is invoked, adding print statements on both sides of the bridge:
converting: MonthDayNano(months=1, days=0, nanoseconds=0)
converting: IntervalMonthDayNano("1")
from datafusion-python.
Related Issues (20)
- Display of built in window functions do not work with struct elements HOT 1
- Build conda nightlies jobs are failing on main for aarch64 HOT 3
- There are 31 open PRs for dependabot HOT 2
- Tracking Upgrade to Datafusion 37 HOT 1
- Boolean operators in expressions are ignored HOT 2
- Incorporate upstream array_slice fixes
- pytest parametrize the tests in `test_functions.py`
- doc builds are broken HOT 1
- Add `regexp_replace` example back to docs
- Update the DataFusion in Python website HOT 3
- Default window frames to not match PostgreSQL HOT 3
- Tracking Upgrade to Datafusion 38 HOT 1
- Expose named_struct in python
- Ensure examples stay updated in CI. HOT 7
- links to `examples` on PyPI page are broken
- Bump maturin version to satisfy conda-forge constraints? HOT 3
- Missing pushdowns for pyarrow datasets HOT 3
- Regression in `substr` performance from 37.1.0 to 38.0.0
- Render tables using html in notebooks. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datafusion-python.