Skip to content

Commit

Permalink
[Chore](topn) add TTopnFilterContext (apache#34718)
Browse files Browse the repository at this point in the history
add TTopnFilterContext
  • Loading branch information
BiteTheDDDDt authored and ByteYue committed May 15, 2024
1 parent d55134f commit aac6002
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion gensrc/thrift/PaloInternalService.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,13 @@ struct TExportStatusResult {
3: optional list<string> files
}

struct TTopnFilterContext {
1: required i32 source_node_id
2: required bool is_asc
3: required bool null_first
4: required Exprs.TExpr src_expr
}

struct TPipelineInstanceParams {
1: required Types.TUniqueId fragment_instance_id
2: optional bool build_hash_table_for_broadcast_join = false;
Expand All @@ -706,7 +713,8 @@ struct TPipelineInstanceParams {
5: optional TRuntimeFilterParams runtime_filter_params
6: optional i32 backend_num
7: optional map<Types.TPlanNodeId, bool> per_node_shared_scans
8: optional list<i32> topn_filter_source_node_ids
8: optional list<i32> topn_filter_source_node_ids // deprecated after we set topn_filter_contexts
9: optional list<TTopnFilterContext> topn_filter_contexts
}

// ExecPlanFragment
Expand Down

0 comments on commit aac6002

Please sign in to comment.