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

[BUG][Zeta] Multiple sink actions of the same type have the same name #5499

Merged
merged 3 commits into from
Sep 18, 2023

Conversation

Carl-Zhou-CN
Copy link
Member

@Carl-Zhou-CN Carl-Zhou-CN commented Sep 15, 2023

In config

  execution.parallelism = 1
  job.mode = "BATCH"
  checkpoint.interval = 5000
}

source {
  FakeSource {
    result_table_name = "fake1"
    parallelism = 1
    schema = {
      fields {
        name = "string"
        age = "string"
      }
    }
  }
}

transform {
  sql{
     source_table_name = fake1
     query = "select name,age,'2023' as time from fake1"
     result_table_name = sql1
  }

    sql{
       source_table_name = fake1
       query = "select name,age,'2024' as time from fake1"
       result_table_name = sql2
    }
}

sink {
 Hive {
     source_table_name = "sql1"
     table_name = "default.part_test"
     metastore_uri = "xxxxxx"
 }
  Hive {
     source_table_name = "sql2"
     table_name = "default.part_test"
     metastore_uri = "thrift://xxxxx"
 }
}

The action name of hive sink is identified as the same

image

@Hisoka-X Hisoka-X added this to the 2.3.4 milestone Sep 15, 2023
@Hisoka-X
Copy link
Member

Could you add some test case for this?

@Carl-Zhou-CN
Copy link
Member Author

Could you add some test case for this?

ok

@Carl-Zhou-CN
Copy link
Member Author

@Hisoka-X @hailin0 PTAL

@Hisoka-X
Copy link
Member

Thanks @Carl-Zhou-CN

@EricJoy2048 EricJoy2048 merged commit 3cfc235 into apache:dev Sep 18, 2023
4 checks passed
gnehil pushed a commit to gnehil/seatunnel that referenced this pull request Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants