Skip to content

Commit

Permalink
feat: add JSON file support
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Aug 23, 2024
1 parent 28025cb commit 7160edb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions proto/substrait/algebra.proto
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,14 @@ message ReadRel {
// made up of non-nullable strings.
optional string value_treated_as_null = 6;
}
message JsonReadOptions {
// JSON encode files are considered to be in UTF-8. If any errors are
// encountered an error should be raised.

// The maximum number of bytes to read from a single line. If a line
// exceeds this limit the resulting behavior is undefined.
uint64 max_line_size = 1;
}

// The format of the files along with options for reading those files.
oneof file_format {
Expand All @@ -171,6 +179,7 @@ message ReadRel {
google.protobuf.Any extension = 12;
DwrfReadOptions dwrf = 13;
DelimiterSeparatedTextReadOptions text = 14;
JsonReadOptions json = 15;
}
}
}
Expand Down

0 comments on commit 7160edb

Please sign in to comment.