GitHub user yhuai reopened a pull request: https://github.com/apache/spark/pull/1406
[SPARK-2474][SQL] For a registered table in OverrideCatalog, the Analyzer failed to resolve references in the format of "tableName.fieldName" Please refer to JIRA (https://issues.apache.org/jira/browse/SPARK-2474) for how to reproduce the problem and my understanding of the root cause. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yhuai/spark SPARK-2474 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/1406.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1406 ---- commit a5c2145a57f20b98bd34a7de16b0c697b7913ec9 Author: Yin Huai <h...@cse.ohio-state.edu> Date: 2014-07-14T16:40:05Z Support sql/console. commit c43ad00b8a07c168c56f88f632684c6fec5cd719 Author: Yin Huai <h...@cse.ohio-state.edu> Date: 2014-07-14T17:17:29Z Wrap the relation in a Subquery named by the table name in OverrideCatalog.lookupRelation. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---