IvanVergiliev commented on issue #23766: [SPARK-26859][SQL] Fix field writer index bug in non-vectorized ORC deserializer URL: https://github.com/apache/spark/pull/23766#issuecomment-464115427 I figured it out. I was under the impression that `requiredSchema` and `requestedColIds` will have the same length. Apparently that's a wrong assumption - IIUC that's because the partition column is appended to the `requestedColIds` but not the schema. I changed the code to only iterate until `fieldWriters.length` which should preserve existing behaviour since the columns after that, if any, wouldn't have field writers associated anyway.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
