EricJoy2048 opened a new issue, #2874:
URL: https://github.com/apache/incubator-seatunnel/issues/2874

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   Hive Sink Connector can not write data into hive table
   
   ### SeaTunnel Version
   
   dev
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set flink configuration here
     execution.parallelism = 3
     job.name="test_hive_source_to_hive"
   }
   
   source {
     Hive {
       table_name = "test_hive.test_hive_source_orc"
       metastore_uri = "thrift://ctyun7:9083"
       result_table_name = "tmp_table"
     }
   }
   
   transform {
      sql {
         sql = "select test_tinyint, test_smallint,test_int, 
test_bigint,test_boolean, test_float, 
test_double,test_string,test_binary,test_timestamp, test_decimal, test_char, 
test_varchar, test_date , 'p1' as test_par1, 'p2' as test_par2  from tmp_table"
      }
   }
   
   sink {
     # choose stdout output plugin to output data to console
   
     Hive {
       table_name = "test_hive.test_hive_sink_text_simple"
       metastore_uri = "thrift://ctyun7:9083"
       partition_by = ["test_par1", "test_par2"]
       sink_columns = ["test_tinyint", "test_smallint", "test_int", 
"test_bigint", "test_boolean", "test_float", "test_double", "test_string", 
"test_binary", "test_timestamp", "test_decimal", "test_char", "test_varchar", 
"test_date", "test_par1", "test_par2"]
     }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   sh bin/start-seatunnel-flink-connector-v2.sh --config 
config/flink_hiveorc_to_hivetext_simple.conf
   ```
   
   
   ### Error Exception
   
   ```log
   No Exception
   ```
   
   
   ### Flink or Spark Version
   
   SeaTunnel version: dev
   Hadoop version: Hadoop 2.10.2
   Flink version: 1.12.7
   Spark version: 2.4.3, scala version 2.11.12
   
   ### Java or Scala Version
   
   JDK 1.8
   
   ### 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