Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMMON-08", "Sql operation failed, such as (execute,addBatch,close) etc... #8334

Open
2 of 3 tasks
zichen0907 opened this issue Dec 19, 2024 · 0 comments
Open
2 of 3 tasks
Labels

Comments

@zichen0907
Copy link

Search before asking

  • I had searched in the issues 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

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

spark2.4.5

Error Exception

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

@zichen0907 zichen0907 added the bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant