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

   ### 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
   
   Paimon Sink Connector Can't Receive Data While Using Sql Transform
   
   ### SeaTunnel Version
   
   2.3.2
   
   ### SeaTunnel Config
   
   ```conf
   env {
     # You can set flink configuration here
     execution.parallelism = 1
     job.mode = "BATCH"
     #execution.checkpoint.interval = 10000
     #execution.checkpoint.data-uri = "hdfs://localhost:9000/checkpoint"
   }
   
   source {
     # This is a example source plugin **only for test and demonstrate the 
feature source plugin**
         Paimon {
           warehouse = "hdfs:///data/paimon"
           database = "default"
           table = "test_sink_jdbc"
           hdfs_site_path = "/etc/hadoop/3.1.4.0-315/0/hdfs-site.xml"
           result_table_name = "fake"
         }
     # If you would like to get more information about how to configure 
seatunnel and see full list of source plugins,
     # please go to https://seatunnel.apache.org/docs/category/source-v2
   }
   
   transform {
     Sql {
       source_table_name = "fake"
       result_table_name = "fake1"
       query = "select id,name from fake where id >10"
     }
     # If you would like to get more information about how to configure 
seatunnel and see full list of transform plugins,
     # please go to https://seatunnel.apache.org/docs/category/transform
   }
   
   sink {
     Paimon {
           warehouse = "hdfs:///data/paimon"
           database = "default"
           table = "test_sink_jdbc_2"
           hdfs_site_path = "/etc/hadoop/3.1.4.0-315/0/hdfs-site.xml"
       }
     # If you would like to get more information about how to configure 
seatunnel and see full list of sink plugins,
     # please go to https://seatunnel.apache.org/docs/category/sink-v2
   }
   ```
   
   
   ### Running Command
   
   ```shell
   ./bin/start-seatunnel-flink-13-connector-v2.sh -m yarn-cluster -ynm 
seatunnel --config ./dev_paimon_to_paimon.conf
   ```
   
   
   ### Error Exception
   
   ```log
   No error! Task succeed!
   ```
   
   
   ### Flink or Spark Version
   
   flink 1.14.5
   
   ### Java or Scala Version
   
   java 1.8
   scala 2.12
   
   ### Screenshots
   
   Source Paimon table Result :
   
![image](https://github.com/apache/seatunnel/assets/38577585/54592b18-8d6c-4639-a422-2fad09f54a14)
   Target Paimon table Result :
   
![企业微信截图_16879548631811](https://github.com/apache/seatunnel/assets/38577585/6e3d6539-0b03-4583-b711-5a2806d2a50e)
   Target Mysql table Result :
   
![image](https://github.com/apache/seatunnel/assets/38577585/d5160d8b-51a7-425e-933b-32fb5eb0204f)
   
   
   ### 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