gamblewin commented on issue #8216:
URL: https://github.com/apache/hudi/issues/8216#issuecomment-1488922874

   > > > you can try [#7173](https://github.com/apache/hudi/pull/7173)
   > > 
   > > 
   > > thx, this solved my problem. Btw, line 312 also needs to be changed.
   > 
   > Hi gamblewin, may I have your modified for line 312?
   
   ```java
   case INT:
           if (schema.getLogicalType() != null && 
schema.getLogicalType().getName().equals("date")) {
             //  - return DateWritable.dateToDays(new 
WritableDateObjectInspector().getPrimitiveJavaObject(structFieldData));
             return new DateWritable((DateWritable)structFieldData).getDays();
           }
   ```
   but I don't know if I did the right change, cuz after this alteration, 
compilation succeeded. But when I want to insert data into a hudi cdc COW 
table, it will report mistake.


-- 
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