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

Fix #5782 and #5794: in strict mode do not accept leading zeros when parsing numbers #5850

Merged
merged 2 commits into from
Jan 8, 2023

Conversation

Mytherin
Copy link
Collaborator

@Mytherin Mytherin commented Jan 7, 2023

Fix #5782, Fix #5794

In strict mode, do not accept leading zeros when parsing numbers. This leads to the CSV auto-detection no longer detecting fields such as 09001 as integers, and instead keeps them as strings.

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 this pull request may close these issues.

Wrong fields inferencing read_csv_auto() reads a varchar column (starting with '0') as integer
1 participant