Re: [SQL]A confusing NullPointerException when creating table using Spark2.1.0

2017-02-06 Thread StanZhai
This issue has been fixed by https://github.com/apache/spark/pull/16820 . -- View this message in context:

[SQL]A confusing NullPointerException when creating table using Spark2.1.0

2017-02-03 Thread StanZhai
Hi all, After upgrading our Spark from 1.6.2 to 2.1.0, I encounter a confusing NullPointerException when creating table under Spark 2.1.0, but the problem does not exists in Spark 1.6.1. Environment: Hive 1.2.1, Hadoop 2.6.4 Code // spark is an instance