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

ENH: Add support for reading string lists #1141

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

snowman2
Copy link
Contributor

@snowman2 snowman2 commented Sep 15, 2022

Closes #1140

fio info fio_test.geojson
{"driver": "GeoJSON", "schema": {"properties": {"time_range": "List[str]"}, ....

@snowman2
Copy link
Contributor Author

The rstcheck failure is unrelated to the changes in this PR.

@snowman2
Copy link
Contributor Author

snowman2 commented Nov 12, 2022

@sgillies just remembered this PR. Do you think that it is a small enough change to be a candidate for something to include in 1.9?

@sgillies sgillies modified the milestone: 1.9 Dec 8, 2022
@@ -24,7 +26,7 @@ FIELD_TYPES = [
'float', # OFTReal, Double Precision floating point
None, # OFTRealList, List of doubles
'str', # OFTString, String of UTF-8 chars
None, # OFTStringList, Array of strings
'List[str]', # OFTStringList, Array of strings
Copy link
Member

Choose a reason for hiding this comment

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

@snowman2 yes, I agree this is the right way to do it. Thank you!

@sgillies sgillies merged commit 45a6249 into Toblerity:master Dec 8, 2022
@snowman2 snowman2 deleted the string_list branch December 8, 2022 18:43
@snowman2
Copy link
Contributor Author

snowman2 commented Dec 8, 2022

Thanks @sgillies 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: GeoJSON driver returning StringList for a string containing a list
2 participants