[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-08 Thread HyukjinKwon
Github user HyukjinKwon closed the pull request at: https://github.com/apache/spark/pull/18200 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-08 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120805631 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala --- @@ -1174,4 +1174,12 @@ class CSVSuite extends

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread maropu
Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120724004 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala --- @@ -53,7 +53,8 @@ class UnivocityParser(

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120723655 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala --- @@ -53,7 +53,8 @@ class UnivocityParser(

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread maropu
Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120720274 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala --- @@ -53,7 +53,8 @@ class UnivocityParser(

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120643746 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/csv/UnivocityParser.scala --- @@ -53,7 +53,8 @@ class UnivocityParser(

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread HyukjinKwon
Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120642608 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala --- @@ -1174,4 +1174,12 @@ class CSVSuite extends

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread maropu
Github user maropu commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120594941 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala --- @@ -1174,4 +1174,12 @@ class CSVSuite extends QueryTest

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-07 Thread gatorsmile
Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/18200#discussion_r120555082 --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala --- @@ -1174,4 +1174,12 @@ class CSVSuite extends

[GitHub] spark pull request #18200: [SPARK-20978][SQL] Set null for malformed column ...

2017-06-04 Thread HyukjinKwon
GitHub user HyukjinKwon opened a pull request: https://github.com/apache/spark/pull/18200 [SPARK-20978][SQL] Set null for malformed column when the number of tokens is less than schema ## What changes were proposed in this pull request? This PR proposes to fix NPE when the