Open droher opened 3 months ago
This is explicit, unsure if it's intentional https://github.com/finos/perspective/blob/055d5b3beb4599dda8f007f73923e8d451de4098/cpp/perspective/src/cpp/arrow_loader.cpp#L123
Perspective doesn't have internal support for decimal yet. We can change this behavior to cast to float
instead which is probably more useful (for the purposes of data visualization at least).
Bug Report
Steps to Reproduce:
Run this code in jupyterlab (duckdb version was 0.10.1 but should work on any recent version)
Expected Result:
Values should be the same![image](https://github.com/finos/perspective/assets/18269460/10e4dc4a-b1e4-4516-b44a-fdf047fa3296)
Actual Result:
Decimal value is deserialized as the internal Arrow representation of a decimal type (an integer)![image](https://github.com/finos/perspective/assets/18269460/437c026a-6ef0-4d79-8195-0c33f70baeaf)
Environment:
perspective-python 2.10.0
running on Python3.11
, jupyterlab3.6.5
, MacOS14.4.1
.Additional Context:
I first noticed this issue in the JS package but it was easier for me to create a replicable example in Python.