Clarification on Delta Table schema type naming (“bool” vs “boolean”) #5343
Unanswered
shanisolomon
asked this question in
Ask the Authors
Replies: 3 comments 1 reply
|
+@larsk-db who might know the answer to this one :) |
0 replies
|
Hmm, looking at that table, I don't think those are even the official names. They are just indicative of the Delta type, not the literal spellings. For example, the table says We should probably update that table. |
0 replies
|
It looks like these are the actual type names: https://github.com/delta-io/delta/blob/master/PROTOCOL.md#primitive-types |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I wanted to confirm whether a Delta table whose metadata action defines a column with the data type "bool" is considered valid. Based on the Delta protocol and Parquet specifications, my understanding is that "boolean" is the officially supported type name.
More generally, are the data type names listed in the protocol documentation
the only supported ones, or should implementations accept type name variants (for example, "integer" vs "int", "boolean" vs "bool", etc.)?
Could you please clarify whether "bool" and similar variants are valid, and whether Delta readers are expected to recognize or handle them?
Thanks,
Shani
All reactions