Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
For an AttributeReference where the dataType is a nested struct such that the internal struct requires normalization (has a floating type expression), we end up not correctly propagating the nullability of an expression.
For example, for an expression like:
namedStruct("struct", namedStruct("double", <DoubleType-field>)
The dataType prior to normalization is:
StructType(StructField("struct", StructType(StructField("double", DoubleType, true, {})), false, {}))
whereas post-normalization, the dataType becomes:
StructType(StructField("struct", StructType(StructField("double", DoubleType, true, {})), true, {}))
We ended up converting the `nullable` attribute of the "double" field from `false` to `true`.
Attachments
Issue Links
- links to