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

   ### 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
   
   There is an issue with querying SQL or a null value in a partition field, 
which did not synchronize successfully, but the program did not throw an 
exception
   
   ### SeaTunnel Version
   
   2.3.3
   
   ### SeaTunnel Config
   
   ```conf
   env{
   spark.executor.memory=5g
   job.mode="BATCH"
   }
   source{
   Jdbc{
   password="xxxxxx"
   driver="org.postgresql.Driver"
   query="select C_AGENCYNO,C_NAME,C_CODE from view_tablename"
   result_table_name="t1"
   parallelism=3
   partition_column="C_AGENCYNO"
   partition_num=3
   user="xxxx"
   url="jdbc:postgresql://192.168.10.34:54321/data"
   }}
   
   transform {}
   
   sink{
   Hive {
   hdfs_site_path="/etc/hadoop/conf.cloudera.hdfs/hdfs-site.xml"
   have_partition=false
   source_table_name="t1"
   metastore_url="thrift://192.168.1.23:9083"
   table_name="test.tabe1"
   }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   spark2.4.5
   ```
   
   
   ### Error Exception
   
   ```log
   errer: BatchPartitionReader execute failed
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   spark2.4.5
   
   ### Java or Scala Version
   
   java 8   scala 2.12
   
   ### 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