Admaing commented on PR #18667:
URL: 
https://github.com/apache/dolphinscheduler/pull/18667#issuecomment-6307104671

   
   1. Each JobID keeps its own YARN application. 
FlinkStreamTask#getYarnApplicationId() (the appIds.get(0) pick, which also 
depended on LogUtils' unordered HashSet) is gone. 
FlinkTask#getFlinkJobSubmissions() now scans the log once, in order, and binds 
every observed JobID to the last application_xxx printed before it; when the 
log contains exactly one application it is backfilled to any job that precedes 
it. savePoint() passes each job's own -yid. Covered by two jobs in different 
applications with different endpoints.
   2. CTAS submits a job. SQL_CREATE_TABLE_AS_SELECT_REGEX recognises CREATE 
[TEMPORARY] TABLE ... AS SELECT/WITH/VALUES/TABLE (string-aware, a plain CREATE 
TABLE still records nothing) and records a snapshot, covered by CTAS followed 
by an INSERT on a different endpoint.
   3. Block comments now preserve token boundaries. splitSqlStatements() emits 
a separating space where a block comment is removed, so INSERT/* c */INTO t and 
SET/* c */ 'rest.address' = 'cluster-a' are still recognised; covered through 
both cancel and savepoint construction.


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