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

   ### 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
   
   Caused by: 
org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: 
java.lang.NullPointerException
   at 
org.apache.seatunnel.connectors.cdc.debezium.row.SeaTunnelRowDebeziumDeserializationConverters.convert(SeaTunnelRowDebeziumDeserializationConverters.java:88)
   
   ### SeaTunnel Version
   
   2.3.4
   
   ### SeaTunnel Config
   
   ```conf
   env {
   execution.parallelism = 1
   job.mode = "STREAMING"
   checkpoint.interval = 15000
   }
   
   source {
   Postgres-CDC {
   result_table_name ="fake"
   base-url="jdbc:postgresql:///test"
   source.reader.close.timeout = 120000
   username = ""
   password = ""
   driver = "org.postgresql.Driver"
   slot.name = "seatunnel1716623306008"
   database-names = [""]
   schema-names = [""]
   table-names = [".."]
   }
   }
   
   transform {
   Sql{
   source_table_name = "fake"
   query = "select id,name,create_time,'$[yyyy-MM-dd]' as pt from fake "
   result_table_name = "fake1"
   }
   FieldMapper {
   source_table_name = "fake1"
   result_table_name = "fake2"
   field_mapper = {
   id=id
   name=name
   create_time=create_time
   pt = pt
   }
   }
   }
   
   sink {
   Hive {
   source_table_name = "fake2"
   table_name ="."
   
   
   }
   }
   ```
   
   
   ### Running Command
   
   ```shell
   env {
   execution.parallelism = 1
   job.mode = "STREAMING"
   checkpoint.interval = 15000
   }
   
   source {
   Postgres-CDC {
   result_table_name ="fake"
   base-url="jdbc:postgresql:///test"
   source.reader.close.timeout = 120000
   username = ""
   password = ""
   driver = "org.postgresql.Driver"
   slot.name = "seatunnel1716623306008"
   database-names = [""]
   schema-names = [""]
   table-names = [".."]
   }
   }
   
   transform {
   Sql{
   source_table_name = "fake"
   query = "select id,name,create_time,'$[yyyy-MM-dd]' as pt from fake "
   result_table_name = "fake1"
   }
   FieldMapper {
   source_table_name = "fake1"
   result_table_name = "fake2"
   field_mapper = {
   id=id
   name=name
   create_time=create_time
   pt = pt
   }
   }
   }
   
   sink {
   Hive {
   source_table_name = "fake2"
   table_name ="."
   
   
   }
   }
   ```
   
   
   ### Error Exception
   
   ```log
   postGreCDC  to  hive:when job start, source  data insert or delete is 
ok,,but once source data updated  like update table set name ='name2' where id 
=2 ,it will appear
   Caused by: 
org.apache.seatunnel.engine.common.exception.SeaTunnelEngineException: 
java.lang.NullPointerException
   at 
org.apache.seatunnel.connectors.cdc.debezium.row.SeaTunnelRowDebeziumDeserializationConverters.convert(SeaTunnelRowDebeziumDeserializationConverters.java:88)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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