-
Notifications
You must be signed in to change notification settings - Fork 439
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6aa83c8
commit def1e47
Showing
13 changed files
with
194 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...src/main/resources/org/apache/spark/sql/execution/datasources/v1/write_optimization.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
syntax = "proto3"; | ||
|
||
package local_engine; | ||
|
||
option java_package = "org.apache.spark.sql.execution.datasources.v1"; | ||
option java_multiple_files = true; | ||
|
||
message Write { | ||
message Common { | ||
string format = 1; | ||
} | ||
message ParquetWrite{} | ||
message OrcWrite{} | ||
message MergeTreeWrite{ | ||
string database = 1; | ||
string table = 2; | ||
string snapshot_id = 3; | ||
string order_by_key = 4; | ||
string low_card_key = 5; | ||
string minmax_index_key = 6; | ||
string bf_index_key = 7; | ||
string set_index_key = 8; | ||
string primary_key = 9; | ||
string relative_path = 10; | ||
string absolute_path = 11; | ||
} | ||
|
||
Common common = 1; | ||
oneof file_format { | ||
ParquetWrite parquet = 2; | ||
OrcWrite orc = 3; | ||
MergeTreeWrite mergetree = 4; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.