apache/spark — pull request #202 by marmbrus (2014-03-22 01:52:11+00:00)
Title: 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.