KnightChess commented on PR #6020:
URL: https://github.com/apache/hudi/pull/6020#issuecomment-1172140116

   I have add log to check it, the joinSqlRecord sometimes contains certain 
fields in target and source, and sometimes they are completely inconsistent at 
all( key cols too)
   ```scala
   override def combineAndGetUpdateValue(targetRecord: IndexedRecord,
      schema: Schema, properties: Properties): HOption[IndexedRecord] = {
      val sourceRecord = bytesToAvro(recordBytes, schema)
      val joinSqlRecord = new SqlTypedRecord(joinRecord(sourceRecord, 
targetRecord))
      // log here compare targetRecord and joinSqlRecord use some cols, then 
log them
      processMatchedRecord(joinSqlRecord, Some(targetRecord), properties)
   }
   ```


-- 
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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to