Skip to content

Conversation

@jimexist
Copy link
Member

Which issue does this PR close?

fix pyarrow type id mapping in python crate

Closes #.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@jimexist jimexist force-pushed the py-types branch 3 times, most recently from 2502cc5 to 612d53d Compare July 18, 2021 10:04
22 => DataType::LargeBinary,
23 => DataType::LargeUtf8,

13 => DataType::Utf8,
Copy link
Member Author

Choose a reason for hiding this comment

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

previously it'll throw because pa.string() is with id 13, not 20

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

looks good to me, but I admit to not having much experience with this code. @jorgecarleitao or @kszucs do you have any thoughts here?

(10, pa.float16()),
(11, pa.float32()),
(12, pa.float64()),
(13, pa.string()),
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb alamb merged commit a4f6cdd into apache:master Jul 19, 2021
@jimexist jimexist deleted the py-types branch July 21, 2021 01:34
@houqp houqp added bug Something isn't working python labels Jul 29, 2021
H0TB0X420 pushed a commit to H0TB0X420/datafusion that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants