-
- Downloads
[SPARK-18654][SQL] Remove unreachable patterns in makeRootConverter
## What changes were proposed in this pull request? `makeRootConverter` is only called with a `StructType` value. By making this method less general we can remove pattern matches, which are never actually hit outside of the test suite. ## How was this patch tested? The existing tests. Author: Nathan Howell <nhowell@godaddy.com> Closes #16084 from NathanHowell/SPARK-18654.
Showing
- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JacksonParser.scala 21 additions, 35 deletions...la/org/apache/spark/sql/catalyst/json/JacksonParser.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/json/JsonSuite.scala 1 addition, 1 deletion...ache/spark/sql/execution/datasources/json/JsonSuite.scala
Please register or sign in to comment