zzzzzyu opened a new issue, #4898:
URL: https://github.com/apache/seatunnel/issues/4898

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   when i sync mysql source table to the Hive warehouse,according to the 
setunnel documentation v2.3.1,the Hive sink dont have the save_mode option.this 
maybe not suitable for full table synchronization to hive。besides  I want use 
multiple source table to a single Hive sink,the Transform can't read the 
multiple source_table to union or join, neither does the Sink part
   
   ### SeaTunnel Version
   
   2.3.1
   
   
   ### SeaTunnel Config
   
   ```conf
   env {
     parallelism = 5
     job.mode = "BATCH"
     job.name = "mysql2hive"
   }
   
   source {
       jdbc {
           url = 
"jdbc:mysql://****:****/vod_data0?tinyInt1isBit=false&serverTimezone=Asia/Shanghai"
           driver = "com.mysql.cj.jdbc.Driver"
           user = "****"
           password = "*****"
           query = "select * from table0"
           result_table_name = "tmp0"
           partition_column = "seqno"
           partition_num=5
           }
   
       jdbc {
           url = 
"jdbc:mysql://****:****/vod_data16?tinyInt1isBit=false&serverTimezone=Asia/Shanghai"
           driver = "com.mysql.cj.jdbc.Driver"
           user = "****"
           password = "*****"
           query = "select * from table1"
           result_table_name = "tmp1"
           partition_column = "seqno"
           partition_num=5
           }
   
   }
   transform {
   
   }
   
   sink {
     Hive {
       source_table_name = "tmp0"
       table_name = ods.ods_hq_global_bak
       metastore_uri = "thrift://****:9083"
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./start-seatunnel-spark-3-connector-v2.sh --config 
../config/mysql_to_hive.conf --master yarn
   ```
   
   
   ### Error Exception
   
   ```log
   Hive sink save_mode not exists,transform have no access to mutiple source 
table
   ```
   
   
   ### Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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