You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a column starts with a numeric-looking text, and there are other text values within the column, querying & displaying the values gives the error "duckdb.duckdb.InvalidInputException: Invalid Input Error: Failed to cast value: Could not convert string 'DIV' to DOUBLE"
Adjusting the query to cast the values doesn't resolve the issue:
con.sql("SELECT ref_pfr_no::text FROM read_gsheet('', sheet='');").show()
The text was updated successfully, but these errors were encountered:
@Alex-Monahan makes the point that we are already looping through every row for bool/double processing, so we might as well do it for column identification as well!
Sample column values:
When a column starts with a numeric-looking text, and there are other text values within the column, querying & displaying the values gives the error "duckdb.duckdb.InvalidInputException: Invalid Input Error: Failed to cast value: Could not convert string 'DIV' to DOUBLE"
Adjusting the query to cast the values doesn't resolve the issue:
con.sql("SELECT ref_pfr_no::text FROM read_gsheet('', sheet='');").show()
The text was updated successfully, but these errors were encountered: