Github user maropu commented on the issue: https://github.com/apache/spark/pull/21631 @MaxGekk yea, I noticed that behaviour. Probably, in case we set an empty array in `CommonSettings.selectIndexes`, it seems `UnivocityParser` returns null for valid input? I'm not sure setting an empty array there is valid. Anyway, to fix this bug, I think we don't need to check values record-by-record because `reuiqredSchema` is empty as @HyukjinKwon said.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org