ankitflow001 opened a new pull request, #29754:
URL: https://github.com/apache/flink/pull/29754

   ## What is the purpose of the change?
   
   When AdaptiveScheduler is enabled and a batch job is submitted, Flink
   falls back to AdaptiveBatchScheduler which does not support rescaling.
   However, the rescale column header and buttons were still displayed in
   the job overview list for batch jobs.
   
   ## Brief change log
   
   - Added `jobType` input to `JobOverviewListComponent`
   - Pass `plan.type` from `JobOverviewComponent` to `JobOverviewListComponent`
   - Conditionally render the rescale column and buttons only when
     `jobType === 'STREAMING'`
   
   ## Verifying this change
   
   Open a batch job in the Flink WebUI — the "Scale" column should not appear.
   Open a streaming job with AdaptiveScheduler — the "Scale" column should 
appear as before.
   
   ## Does this pull request potentially affect one of the following areas?
   
   - Web UI: yes
   
   Resolves: https://issues.apache.org/jira/browse/FLINK-31737


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to