Skip to content

Conversation

@manticore-projects
Copy link
Contributor

CSV Number Columns can have empty Cells, e.g. '' which still need to be translated to a Number Column Type. So instead of creating a new Number from the empty String (which will fail), a NULL Number must be returned.

Example CSV:

"102.22"
""

Shall return '102.22', null instead of '102.22', '' or else conversion to DECIMAL(12.2) will fail.

fixes #3785

CSV Number Columns can have empty Cells, e.g. '' which still need to be 
translated to a Number Column Type. So instead of creating a new Number 
from the empty String (which will fail), a NULL Number must be returned.

fixes h2database#3785
@andreitokar
Copy link
Contributor

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.

CSVRead: Fails to translate empty Numbers, when cells are quoted

2 participants