Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: DataFrame loading doesn't support short (int16) columns. #469

Closed
mateli opened this issue Jan 26, 2024 · 1 comment · Fixed by #498
Closed

[BUG]: DataFrame loading doesn't support short (int16) columns. #469

mateli opened this issue Jan 26, 2024 · 1 comment · Fixed by #498

Comments

@mateli
Copy link

mateli commented Jan 26, 2024

Library Version

4.23.3

OS

Windows/Debian

OS Architecture

64 bit

How to reproduce?

Load any parquet file with a Int16 column into a dataframe.

GetTypedDataFast() would need:

            if(col.DataType == typeof(short)) {
	            return ((PrimitiveDataFrameColumn<short>)col).ToArray();
            }
            if(col.DataType == typeof(ushort)) {
	            return ((PrimitiveDataFrameColumn<ushort>)col).ToArray();
            }

Failing test

No response

@mateli
Copy link
Author

mateli commented Feb 1, 2024

Also the new DateOnly datatype is missing in bot serialization and deserialization.

@mateli mateli changed the title [BUG]: DataFrame loading doesn't support short (int16) tables. [BUG]: DataFrame loading doesn't support short (int16) columns. Feb 2, 2024
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 a pull request may close this issue.

1 participant