Skip to content

Commit

Permalink
doc: clarify nullability information source for empty literals
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarua committed Feb 10, 2024
1 parent d9b9672 commit 81dfb73
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -819,9 +819,12 @@ message Expression {
UserDefined user_defined = 33;
}

// whether the literal type should be treated as a nullable type. Applies to
// all members of union other than the Typed null (which should directly
// declare nullability).
// Whether the literal_type above should be treated as a nullable type.
// Applies to all members of the literal_type oneof EXCEPT:
// * Type null
// * Type.List empty_list
// * Type.Map empty_map
// which should declare their nullability directly instead.
bool nullable = 50;

// optionally points to a type_variation_anchor defined in this plan.
Expand Down

0 comments on commit 81dfb73

Please sign in to comment.