Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/21657#discussion_r202528931
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala
---
@@ -223,8 +234,8 @@ class UnivocityParser(
} else {
try {
var i = 0
- while (i < schema.length) {
- row(i) = valueConverters(i).apply(tokens(i))
+ while (i < requiredSchema.length) {
--- End diff --
ok
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]