DanielLeens commented on issue #10928:
URL: https://github.com/apache/seatunnel/issues/10928#issuecomment-4523791860

   Thanks for the report.
   
   I traced the current Parquet INT96 write path in `dev`, and this does look 
like a real bug rather than a config mistake.
   
   The problematic path is that the Parquet schema and `GenericRecordBuilder` 
both normalize field names to lowercase, but the INT96 timestamp branch still 
looks up the schema field by the original column name. So when the source field 
is something like `createTime`, the schema contains `createtime`, and the INT96 
branch ends up hitting a null schema field and throwing the 
`NullPointerException` you reported.
   
   That also explains why the lowercase alias workaround works:
   
   ```hocon
   query = "select createTime as createtime from xxxx_channel_url"
   ```
   
   It avoids the current field-name case mismatch, but it is only a workaround. 
The issue is worth keeping open as a real bug in the Parquet INT96 timestamp 
write path.
   
   One small note for future reports: please try to use English in the issue 
body so more community members can participate directly. Thanks again for the 
detailed stack trace and config.


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