Skip to content

Commit

Permalink
change to u64
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 23, 2023
1 parent e02c258 commit fd85f18
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 25 deletions.
10 changes: 5 additions & 5 deletions datafusion/proto/proto/datafusion.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1219,11 +1219,11 @@ message ParquetWriterOptions {
}

message WriterProperties {
uint32 data_page_size_limit = 1;
uint32 dictionary_page_size_limit = 2;
uint32 data_page_row_count_limit = 3;
uint32 write_batch_size = 4;
uint32 max_row_group_size = 5;
uint64 data_page_size_limit = 1;
uint64 dictionary_page_size_limit = 2;
uint64 data_page_row_count_limit = 3;
uint64 write_batch_size = 4;
uint64 max_row_group_size = 5;
string writer_version = 6;
string created_by = 7;
}
Expand Down
15 changes: 10 additions & 5 deletions datafusion/proto/src/generated/pbjson.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions datafusion/proto/src/generated/prost.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions datafusion/proto/src/logical_plan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1678,11 +1678,11 @@ pub(crate) fn writer_properties_to_proto(
props: &WriterProperties,
) -> protobuf::WriterProperties {
protobuf::WriterProperties {
data_page_size_limit: props.data_page_size_limit() as u32,
dictionary_page_size_limit: props.dictionary_page_size_limit() as u32,
data_page_row_count_limit: props.data_page_row_count_limit() as u32,
write_batch_size: props.write_batch_size() as u32,
max_row_group_size: props.max_row_group_size() as u32,
data_page_size_limit: props.data_page_size_limit() as u64,
dictionary_page_size_limit: props.dictionary_page_size_limit() as u64,
data_page_row_count_limit: props.data_page_row_count_limit() as u64,
write_batch_size: props.write_batch_size() as u64,
max_row_group_size: props.max_row_group_size() as u64,
writer_version: format!("{:?}", props.writer_version()),
created_by: props.created_by().to_string(),
}
Expand Down

0 comments on commit fd85f18

Please sign in to comment.