GitHub PushEvent at 2014-08-03 20:24:54
Repository: spark
Actor: asfgit
Payload: {"shas":[["236dfac6769016e433b2f6517cda2d308dea74bc","17b9e1c64588c7fa6419b4d29dc1f4426279ba01@databricks.com","[SPARK-2784][SQL] Deprecate hql() method in favor of a config option, 'spark.sql.dialect'\n\nMany users have reported being confused by the distinction between the `sql` and `hql` methods.  Specifically, many users think that `sql(...)` cannot be used to read hive tables.  In this PR I introduce a new configuration option `spark.sql.dialect` that picks which dialect with be used for parsing.  For SQLContext this must be set to `sql`.  In `HiveContext` it defaults to `hiveql` but can also be set to `sql`.\n\nThe `hql` and `hiveql` methods continue to act the same but are now marked as deprecated.\n\n**This is a possibly breaking change for some users unless they set the dialect manually, though this is unlikely.**\n\nFor example: `hiveContex.sql(\"SELECT 1\")` will now throw a parsing exception by default.\n\nAuthor: Michael Armbrust <michael@databricks.com>\n\nCloses #1746 from marmbrus/sqlLanguageConf and squashes the following commits:\n\nad375cc [Michael Armbrust] Merge remote-tracking branch 'apache/master' into sqlLanguageConf\n20c43f8 [Michael Armbrust] override function instead of just setting the value\n7e4ae93 [Michael Armbrust] Deprecate hql() method in favor of a config option, 'spark.sql.dialect'","Michael Armbrust",true],["ac33cbbf33bd1ab29bc8165c9be02fb8934b1fdf","a50d2185142f97721f64187b05c8deeec99604b1@gmail.com","[SPARK-2814][SQL] HiveThriftServer2 throws NPE when executing native commands\n\nJIRA issue: [SPARK-2814](https://issues.apache.org/jira/browse/SPARK-2814)\n\nAuthor: Cheng Lian <lian.cs.zju@gmail.com>\n\nCloses #1753 from liancheng/spark-2814 and squashes the following commits:\n\nc74a3b2 [Cheng Lian] Fixed SPARK-2814","Cheng Lian",true]],"size":2,"ref":"refs/heads/master","head":"ac33cbbf33bd1ab29bc8165c9be02fb8934b1fdf"}