You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "stp-pv (via GitHub)" <gi...@apache.org> on 2023/06/26 14:29:38 UTC

[GitHub] [hudi] stp-pv commented on issue #9032: [SUPPORT] NPE when reading from a CDC-enabled table but written with BULK_INSERT

stp-pv commented on issue #9032:
URL: https://github.com/apache/hudi/issues/9032#issuecomment-1607612178

   Looking at the InternalRow.getString method usage is discouraged:
   
   ```
   // This is only use for test and will throw a null pointer exception if the position is null.
   def getString(ordinal: Int)
   ```
    
   Why does HoodieCDCRDD$CDCFileGroupIterator.convertRowToJsonString() special case StringType? It seems that it would need to at least check for null before converting the retrieved value to a String. 
    


-- 
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-unsubscribe@hudi.apache.org

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