ulnit opened a new issue, #11134:
URL: https://github.com/apache/dolphinscheduler/issues/11134

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   The error message is:
   【Caused by: java.sql.BatchUpdateException: Batch entry 0 INSERT INTO 
t_ds_dq_execute_result 
("rule_type","rule_name","process_definition_id","process_instance_id","task_instance_id","statistics_value","comparison_value","comparison_type","check_type","threshold","operator","failure_strategy","error_output_path","create_time","update_time")
 VALUES 
(0,'(null_check)',0,796,859,0,0,2,0,0,3,0,'hdfs://mycluster:8020/user/dolphinscheduler/data_quality_error_data/0_796_dq002','2022-07-21
 05:20:53','2022-07-21 05:20:53') was aborted: ERROR: column "create_time" is 
of type timestamp without time zone but expression is of type character varying
          建议:You will need to rewrite or cast the expression.
          位置:337  Call getNextException to see other errors in the batch.
                at 
org.postgresql.jdbc.BatchResultHandler.handleError(BatchResultHandler.java:165)
                at 
org.postgresql.core.ResultHandlerDelegate.handleError(ResultHandlerDelegate.java:52)
                at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2366)
                at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:559)
                at 
org.postgresql.jdbc.PgStatement.internalExecuteBatch(PgStatement.java:887)
                at 
org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:910)
                at 
org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1649)
                at 
org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.savePartition(JdbcUtils.scala:713)
                at 
org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$saveTable$1(JdbcUtils.scala:868)
                at 
org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.$anonfun$saveTable$1$adapted(JdbcUtils.scala:867)
                at 
org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2(RDD.scala:1011)
                at 
org.apache.spark.rdd.RDD.$anonfun$foreachPartition$2$adapted(RDD.scala:1011)
                at 
org.apache.spark.SparkContext.$anonfun$runJob$5(SparkContext.scala:2268)
                at 
org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
                at org.apache.spark.scheduler.Task.run(Task.scala:136)
                at 
org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:548)
                at 
org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1504)
                at 
org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:551)
                at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)
        Caused by: org.postgresql.util.PSQLException: ERROR: column 
"create_time" is of type timestamp without time zone but expression is of type 
character varying
          建议:You will need to rewrite or cast the expression.
          位置:337
                at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2675)
                at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2365)
                ... 18 more】
   
   ### What you expected to happen
   
   Nodes with data quality are running properly and data can be inserted into 
the database properly.
   
   ### How to reproduce
   
   Normal deployment and use, you can reproduce.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.0-beta-2
   
   ### 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