branch-2.1: [chore](information schema) rename routine_load_job system table to routine_load_jobs (#49515) (#53246)

pick (#49515)

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
This commit is contained in:
hui lai
2025-07-16 09:26:00 +08:00
committed by GitHub
parent 4b261d43b6
commit 1e19a3d852
6 changed files with 8 additions and 8 deletions

View File

@ -89,8 +89,8 @@ public enum SchemaTableType {
TSchemaTableType.SCH_CATALOG_META_CACHE_STATISTICS),
SCH_TABLE_OPTIONS("TABLE_OPTIONS", "TABLE_OPTIONS",
TSchemaTableType.SCH_TABLE_OPTIONS),
SCH_ROUTINE_LOAD_JOB("ROUTINE_LOAD_JOB", "ROUTINE_LOAD_JOB",
TSchemaTableType.SCH_ROUTINE_LOAD_JOB);
SCH_ROUTINE_LOAD_JOBS("ROUTINE_LOAD_JOBS", "ROUTINE_LOAD_JOBS",
TSchemaTableType.SCH_ROUTINE_LOAD_JOBS);
private static final String dbName = "INFORMATION_SCHEMA";
private static SelectList fullSelectLists;

View File

@ -573,8 +573,8 @@ public class SchemaTable extends Table {
.column("BUCKETS_NUM", ScalarType.createType(PrimitiveType.INT))
.column("PARTITION_NUM", ScalarType.createType(PrimitiveType.INT))
.build()))
.put("routine_load_job",
new SchemaTable(SystemIdGenerator.getNextId(), "routine_load_job", TableType.SCHEMA,
.put("routine_load_jobs",
new SchemaTable(SystemIdGenerator.getNextId(), "routine_load_jobs", TableType.SCHEMA,
builder().column("JOB_ID", ScalarType.createStringType())
.column("JOB_NAME", ScalarType.createStringType())
.column("CREATE_TIME", ScalarType.createStringType())