Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore](topn) add TTopnFilterContext #34718

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion gensrc/thrift/PaloInternalService.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,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 @@ -704,7 +711,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