Skip to content

Commit

Permalink
additional comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jcamachor committed Dec 3, 2024
1 parent 437ecde commit cb15bc3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ message CrossRel {
message FetchRel {
RelCommon common = 1;
Rel input = 2;
// Note: A oneof field is inherently optional, whereas individual fields
// within a oneof cannot be marked as optional. The unset state of offset
// should therefore be checked at the oneof level.
oneof offset_mode {
// the offset expressed in number of records
// Deprecated: use `offset_expr` instead
Expand All @@ -276,6 +279,9 @@ message FetchRel {
// Recommended type for offset is int64.
Expression offset_expr = 5;
}
// Note: A oneof field is inherently optional, whereas individual fields
// within a oneof cannot be marked as optional. The unset state of count
// should therefore be checked at the oneof level.
oneof count_mode {
// the amount of records to return
// use -1 to signal that ALL records should be returned
Expand Down

0 comments on commit cb15bc3

Please sign in to comment.