morningman commented on issue #69783:
URL: https://github.com/apache/doris/issues/69783#issuecomment-6485882395

   On branch-4.1 / branch-4.2, `SHOW CREATE ROUTINE LOAD` does not carry the 
`compute_group` a job declares (#67010). `RoutineLoadJob.getShowCreateInfo()` 
writes a fixed property list 
(`fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadJob.java:1780-1844`
 on both branches) with no entry for it. SHOW CREATE MATERIALIZED VIEW, by 
contrast, renders every MV property, so an MV's declaration does round-trip. As 
a result, a job created or altered with `"compute_group" = "cg_b"` and then 
recreated from its SHOW CREATE output in a session on another group gets no 
declaration and runs in that session's group, with no error. The master port 
(https://github.com/apache/doris/pull/69749, commit `7611a91f1d5`) writes 
`getDeclaredComputeGroup()` when a group is declared and nothing otherwise, so 
jobs without a declaration keep their current output. Writing the effective 
group instead would turn an inherited group into a pinned one when the 
statement is replayed. Separately from 
 #67010, the same list also leaves out `workload_group` and seven other 
properties that CREATE accepts on both branches (`send_batch_parallelism`, 
`load_to_single_tablet`, `partial_update_new_key_behavior`, 
`unique_key_update_mode`, `enclose`, `escape`, `empty_field_as_null`); the 
master port does not change those.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to