liujishui87 opened a new pull request, #10058:
URL: https://github.com/apache/seatunnel/pull/10058

   …eption caused by not finding the table in PostgreSQL version 17.,JDK is 
JDK21(#9798)
   
   <!--
   
   Thank you for contributing to SeaTunnel! Please make sure that your code 
changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   ## Contribution Checklist
     - Make sure that the pull request corresponds to a [GITHUB 
issue](https://github.com/apache/seatunnel/issues).
     - Name the pull request in the form "[Feature] [component] Title of the 
pull request", where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
     - Minor fixes should be named following this pattern: `[hotfix] [docs] Fix 
typo in README.md doc`.
   -->
   
   ### Purpose of this pull request
   
   <!-- Describe the purpose of this pull request. For example: This pull 
request adds checkstyle plugin.-->
   
   
   ### Does this PR introduce _any_ user-facing change?
   yes
   
   
   
   ### How was this patch tested?
   env {
     # You can set engine configuration here
     execution.parallelism = 1
     job.mode = "STREAMING"
     checkpoint.interval = 5000
   }
   
   source {
     Postgres-CDC {
       username = "postgres"
       password = "123456"
       database-names = ["esep"]
       table-names = ["esep.public.arc_meter"]
       schema-names = ["public"]
       startup.mode = "initial"
       slot.name = "seatunnel_slot"
       decode.plugin.name = "pgoutput"
       url = "jdbc:postgresql://127.0.0.1:5432/postgres?loggerLevel=OFF"
     }
   }
   
   sink {
      jdbc {
              url = 
"jdbc:mysql:/127.0.0.1:3306/esep?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true"
              driver = "com.mysql.cj.jdbc.Driver"
              username = "root"
              password = "123456"
              generate_sink_sql = true
              database = "esep"
              table = "arc_meter"
              schema_save_mode = "CREATE_SCHEMA_WHEN_NOT_EXIST"
              data_save_mode="APPEND_DATA"
          }
   }
   
   Sync is ok.
   <!--
   If tests were added, say they were added here. Please make sure to add some 
test cases that check the changes thoroughly including negative and positive 
cases if possible.
   If it was tested in a way different from regular unit tests, please clarify 
how you tested step by step, ideally copy and paste-able, so that other 
reviewers can test and check, and descendants can verify in the future.
   If tests were not added, please describe why they were not added and/or why 
it was difficult to add.
   If you are adding E2E test cases, maybe refer to 
https://github.com/apache/seatunnel/blob/dev/seatunnel-e2e/seatunnel-connector-v2-e2e/connector-cdc-mysql-e2e/src/test/resources/mysqlcdc_to_mysql.conf,
 here is a good example.
   -->
   https://github.com/apache/seatunnel/issues/9798


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