@@ -728,6 +728,9 @@ message PhysicalPlanNode {
728728 UnnestExecNode unnest = 30 ;
729729 JsonScanExecNode json_scan = 31 ;
730730 CooperativeExecNode cooperative = 32 ;
731+ GenerateSeriesNode generate_series = 33 ;
732+ SortMergeJoinExecNode sort_merge_join = 34 ;
733+ MemoryScanExecNode memory_scan = 35 ;
731734 }
732735}
733736
@@ -887,6 +890,8 @@ message PhysicalWindowExprNode {
887890 WindowFrame window_frame = 7 ;
888891 string name = 8 ;
889892 optional bytes fun_definition = 9 ;
893+ bool ignore_nulls = 11 ;
894+ bool distinct = 12 ;
890895}
891896
892897message PhysicalIsNull {
@@ -1037,6 +1042,15 @@ message AvroScanExecNode {
10371042 FileScanExecConf base_conf = 1 ;
10381043}
10391044
1045+ message MemoryScanExecNode {
1046+ repeated bytes partitions = 1 ;
1047+ datafusion_common.Schema schema = 2 ;
1048+ repeated uint32 projection = 3 ;
1049+ repeated PhysicalSortExprNodeCollection sort_information = 4 ;
1050+ bool show_sizes = 5 ;
1051+ optional uint32 fetch = 6 ;
1052+ }
1053+
10401054message CooperativeExecNode {
10411055 PhysicalPlanNode input = 1 ;
10421056}
@@ -1293,4 +1307,60 @@ message RecursiveQueryNode {
12931307message CteWorkTableScanNode {
12941308 string name = 1 ;
12951309 datafusion_common.Schema schema = 2 ;
1310+ }
1311+
1312+ enum GenerateSeriesName {
1313+ GS_GENERATE_SERIES = 0 ;
1314+ GS_RANGE = 1 ;
1315+ }
1316+
1317+ message GenerateSeriesArgsContainsNull {
1318+ GenerateSeriesName name = 1 ;
1319+ }
1320+
1321+ message GenerateSeriesArgsInt64 {
1322+ int64 start = 1 ;
1323+ int64 end = 2 ;
1324+ int64 step = 3 ;
1325+ bool include_end = 4 ;
1326+ GenerateSeriesName name = 5 ;
1327+ }
1328+
1329+ message GenerateSeriesArgsTimestamp {
1330+ int64 start = 1 ;
1331+ int64 end = 2 ;
1332+ datafusion_common.IntervalMonthDayNanoValue step = 3 ;
1333+ optional string tz = 4 ;
1334+ bool include_end = 5 ;
1335+ GenerateSeriesName name = 6 ;
1336+ }
1337+
1338+ message GenerateSeriesArgsDate {
1339+ int64 start = 1 ;
1340+ int64 end = 2 ;
1341+ datafusion_common.IntervalMonthDayNanoValue step = 3 ;
1342+ bool include_end = 4 ;
1343+ GenerateSeriesName name = 5 ;
1344+ }
1345+
1346+ message GenerateSeriesNode {
1347+ datafusion_common.Schema schema = 1 ;
1348+ uint32 target_batch_size = 2 ;
1349+
1350+ oneof args {
1351+ GenerateSeriesArgsContainsNull contains_null = 3 ;
1352+ GenerateSeriesArgsInt64 int64_args = 4 ;
1353+ GenerateSeriesArgsTimestamp timestamp_args = 5 ;
1354+ GenerateSeriesArgsDate date_args = 6 ;
1355+ }
1356+ }
1357+
1358+ message SortMergeJoinExecNode {
1359+ PhysicalPlanNode left = 1 ;
1360+ PhysicalPlanNode right = 2 ;
1361+ repeated JoinOn on = 3 ;
1362+ datafusion_common.JoinType join_type = 4 ;
1363+ JoinFilter filter = 5 ;
1364+ repeated SortExprNode sort_options = 6 ;
1365+ datafusion_common.NullEquality null_equality = 7 ;
12961366}
0 commit comments