snleee commented on PR #10856:
URL: https://github.com/apache/pinot/pull/10856#issuecomment-1581665194

   @KKcorps Pinot schema is not the source of truth for the reader. Here, 
CSVReader's `header` is indicating about the source schema. 
   
   In regular cases, `source schema + mapping (transform config) = pinot 
schema`.  So, it's the caller's responsibility to make the Pinot schema & 
record reader to be aligned. 
   
   The code is just changing the behavior on putting `header information`. If 
the header does not exist in today, we will try to use the first row as the 
header and we won't be able to read the data either.
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to