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

[Feature] support event scheduler for scan/exchange/agg (part 2) #54338

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

stdpain
Copy link
Contributor

@stdpain stdpain commented Dec 25, 2024

Why I'm doing:

What I'm doing:

#54259

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.4
    • 3.3
    • 3.2
    • 3.1
    • 3.0

@stdpain stdpain requested review from a team as code owners December 25, 2024 12:14
@stdpain stdpain linked an issue Dec 25, 2024 that may be closed by this pull request
1 task
@stdpain stdpain force-pushed the support_event_scheduler_agg_scan_exchange branch 2 times, most recently from a07dfcf to c0bde13 Compare December 25, 2024 14:05
@stdpain stdpain force-pushed the support_event_scheduler_agg_scan_exchange branch from 7b40b7f to fa40713 Compare December 27, 2024 09:27
Copy link

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

[BE Incremental Coverage Report]

pass : 291 / 342 (85.09%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 be/src/exec/pipeline/aggregate/spillable_aggregate_distinct_blocking_operator.h 0 2 00.00% [91, 149]
🔵 be/src/exec/pipeline/aggregate/aggregate_streaming_sink_operator.h 0 1 00.00% [90]
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_streaming_source_operator.h 0 1 00.00% [64]
🔵 be/src/exec/pipeline/aggregate/spillable_aggregate_blocking_sink_operator.h 0 1 00.00% [113]
🔵 be/src/exec/pipeline/aggregate/spillable_aggregate_blocking_source_operator.h 0 1 00.00% [71]
🔵 be/src/exec/pipeline/aggregate/aggregate_streaming_source_operator.h 0 1 00.00% [62]
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_streaming_sink_operator.h 0 1 00.00% [86]
🔵 be/src/exec/pipeline/sink/blackhole_table_sink_operator.h 0 1 00.00% [55]
🔵 be/src/exec/pipeline/schedule/timeout_tasks.cpp 0 15 00.00% [23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 35, 36, 38, 39, 40]
🔵 be/src/exec/pipeline/schedule/timeout_tasks.h 1 3 33.33% [37, 38]
🔵 be/src/exec/pipeline/fragment_context.cpp 25 42 59.52% [214, 356, 357, 358, 359, 362, 457, 458, 459, 460, 462, 463, 465, 466, 471, 472, 473]
🔵 be/src/exec/pipeline/exchange/sink_buffer.cpp 5 8 62.50% [356, 357, 358]
🔵 be/src/exec/pipeline/schedule/observer.cpp 4 6 66.67% [49, 50]
🔵 be/src/exec/chunk_buffer_memory_manager.h 12 14 85.71% [81, 82]
🔵 be/src/exec/pipeline/scan/chunk_buffer_limiter.h 6 7 85.71% [62]
🔵 be/src/exec/pipeline/pipeline_driver_executor.cpp 4 4 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_prepare_operator.h 1 1 100.00% []
🔵 be/src/exec/pipeline/exchange/exchange_sink_operator.cpp 1 1 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_context.cpp 4 4 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_streaming_source_operator.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/exchange/local_exchange_source_operator.h 3 3 100.00% []
🔵 be/src/exec/pipeline/fragment_executor.cpp 22 22 100.00% []
🔵 be/src/runtime/exec_env.h 1 1 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_streaming_sink_operator.cpp 2 2 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_context.h 7 7 100.00% []
🔵 be/src/runtime/sender_queue.cpp 2 2 100.00% []
🔵 be/src/runtime/exec_env.cpp 3 3 100.00% []
🔵 be/src/exec/pipeline/exchange/sink_buffer.h 7 7 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_blocking_sink_operator.cpp 2 2 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_blocking_sink_operator.cpp 4 4 100.00% []
🔵 be/src/runtime/data_stream_recvr.h 8 8 100.00% []
🔵 be/src/exec/pipeline/exchange/exchange_source_operator.h 1 1 100.00% []
🔵 be/src/runtime/buffer_control_block.h 13 13 100.00% []
🔵 be/src/exec/pipeline/pipeline_driver_queue.cpp 1 1 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_operator.h 1 1 100.00% []
🔵 be/src/exec/aggregator.cpp 2 2 100.00% []
🔵 be/src/exec/pipeline/result_sink_operator.h 1 1 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_blocking_source_operator.cpp 4 4 100.00% []
🔵 be/src/exec/pipeline/result_sink_operator.cpp 2 2 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_blocking_sink_operator.h 1 1 100.00% []
🔵 be/src/exec/pipeline/source_operator.h 9 9 100.00% []
🔵 be/src/runtime/data_stream_recvr.cpp 13 13 100.00% []
🔵 be/src/exec/pipeline/scan/chunk_buffer_limiter.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_blocking_source_operator.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_blocking_sink_operator.h 1 1 100.00% []
🔵 be/src/exec/pipeline/exchange/local_exchange_sink_operator.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/pipeline.cpp 3 3 100.00% []
🔵 be/src/exec/pipeline/exchange/exchange_source_operator.cpp 6 6 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_distinct_streaming_source_operator.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_operator.cpp 16 16 100.00% []
🔵 be/src/exec/aggregator.h 6 6 100.00% []
🔵 be/src/exec/pipeline/scan/scan_operator.cpp 5 5 100.00% []
🔵 be/src/exec/pipeline/exchange/exchange_sink_operator.h 1 1 100.00% []
🔵 be/src/exec/pipeline/exchange/local_exchange.h 11 11 100.00% []
🔵 be/src/runtime/buffer_control_block.cpp 2 2 100.00% []
🔵 be/src/exec/pipeline/scan/chunk_source.cpp 1 1 100.00% []
🔵 be/src/exec/pipeline/pipeline_driver_poller.cpp 4 4 100.00% []
🔵 be/src/exec/pipeline/exchange/local_exchange_source_operator.cpp 17 17 100.00% []
🔵 be/src/exec/pipeline/scan/olap_scan_prepare_operator.cpp 1 1 100.00% []
🔵 be/src/exec/pipeline/scan/scan_operator.h 10 10 100.00% []
🔵 be/src/exec/pipeline/aggregate/aggregate_streaming_sink_operator.cpp 10 10 100.00% []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Supports pipeline event based scheduling.
1 participant