spark-instrumented-optimizer/sql/hive
Michael Armbrust 8043b7bc74 SPARK-1294 Fix resolution of uppercase field names using a HiveContext.
Fixing this bug required the following:
 - Creation of a new logical node that converts a schema to lowercase.
 - Generalization of the subquery eliding rule to also elide this new node
 - Fixing of several places where too tight assumptions were made on the types of `InsertIntoTable` children.
 - I also removed an API that was left in by accident that exposed catalyst data structures, and fix the logic that pushes down filters into hive tables scans to correctly compare attribute references.

Author: Michael Armbrust <michael@databricks.com>

Closes #202 from marmbrus/upperCaseFieldNames and squashes the following commits:

15e5265 [Michael Armbrust] Support for resolving mixed case fields from a reflected schema using HiveQL.
5aa5035 [Michael Armbrust] Remove API that exposes internal catalyst data structures.
9d99cb6 [Michael Armbrust] Attributes should be compared using exprId, not TreeNode.id.
2014-03-24 19:24:22 -07:00
..
src SPARK-1294 Fix resolution of uppercase field names using a HiveContext. 2014-03-24 19:24:22 -07:00
pom.xml SPARK-1251 Support for optimizing and executing structured queries 2014-03-20 18:03:20 -07:00