Replies: 6 comments 48 replies
-
What is meant with this? That from our perspective |
Beta Was this translation helpful? Give feedback.
-
Given that I saw your announcement of Substrait on the Calcite mailing list, I'm curious why Calcite isn't on the list of systems :) |
Beta Was this translation helpful? Give feedback.
-
Other than the fact that this doesn't exist anywhere except Arrow, is there a reason not to include unsigned integer types? I guess it's not clear to me why they are deemed unimportant. |
Beta Was this translation helpful? Give feedback.
-
Would it make sense to start with a simpler type system? Having duplicative representation of some of the types (time and timestamp) I think has caused some awkwardness for consumers of Arrow (I'm thinking of some threads on there use in DataFusion, but I could be misremembering).
|
Beta Was this translation helpful? Give feedback.
-
Should Decimal(P, S) where P <= 38 be added as a type? It exists in Arrow and Trino |
Beta Was this translation helpful? Give feedback.
-
Piggybacking on @emkornfield 's suggestion of a simpler type system I would at least open for discussion the idea dropping support for TIMESTAMP_*_TZ. A field-level TZ offers near-zero useful information. And the concept itself introduces plenty of confusion. For example, if I were to read the current definition in Substrait If the info is needed for compatibility / pass through then we could define a standard way to expose that in metadata or it could be exposed by the serialization / deserialization of data. Functions that need to operate on a particular time zone could simply take the time zone as an argument. For example, if I want to convert a timezone to a display string in my local timezone then the function should be Alternatively, we could have |
Beta Was this translation helpful? Give feedback.
-
To start to make progress towards a complete specification, the first step of formalization is to try to decide on the type system. The sketched approach has the following properties:
Some important discussion points:
Beta Was this translation helpful? Give feedback.
All reactions