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

CPLGetValueType(): do not recognize '01' as integer, but as string #10902

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

rouault
Copy link
Member

@rouault rouault commented Sep 30, 2024

@rouault rouault force-pushed the CPLGetValueType_01 branch 2 times, most recently from 371bfff to 73fe47e Compare September 30, 2024 23:24
@coveralls
Copy link
Collaborator

Coverage Status

coverage: 69.434% (-0.002%) from 69.436%
when pulling 84d127a on rouault:CPLGetValueType_01
into 1571b1b on OSGeo:master.

@rouault rouault merged commit 0472c5d into OSGeo:master Oct 1, 2024
35 of 36 checks passed
@theroggy
Copy link
Contributor

theroggy commented Oct 1, 2024

@rouault small question (no underlying request for change)... I wondered, for this type of automatic detection of types, is it typically the first row of data that is inspected, or all rows, or a few rows?

@rouault
Copy link
Member Author

rouault commented Oct 1, 2024

I wondered, for this type of automatic detection of types, is it typically the first row of data that is inspected, or all rows, or a few rows?

It depends on drivers. The GML driver will do a full scan. The CSV driver doesn't do type detection by default, but has options to enable it and limit the number of scanned bytes.

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.

Schema detection with leading Zeros
3 participants