[ 
https://issues.apache.org/jira/browse/IMPALA-7140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831810#comment-16831810
 ] 

ASF subversion and git services commented on IMPALA-7140:
---------------------------------------------------------

Commit 65189dd6f7bfaece96a27417f591094e886109c0 in impala's branch 
refs/heads/2.x from Todd Lipcon
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=65189dd ]

IMPALA-7140 (part 7): small fixes to enable most queries on HDFS tables

This is a grab-bag of small fixes necessary to get most queries on HDFS
tables passing with the correct plans:

* Change the loading of tables to check for other table types before
  checking for FS tables, since without specific checks against
  various properties, other tables may look like FS tables and try to
  instantiate LocalFsTable incorrectly.

* Return -1 for extrapolated row count -- the previous 0 value was
  convincing the planner that it had a valid value.

* Fix up the handling of BuiltinsDb so that we don't depend on
  ImpaladCatalog to have been loaded in order to instantiate it.

* Properly handle the case where all partitions are pruned by a
  predicate.

With this change, about half of the tests in PlannerTest pass. The tests
that don't pass all rely on views, HBase tables, etc.

Conflicts:
        fe/src/main/java/org/apache/impala/analysis/FunctionName.java
Need to Modify:
        fe/src/main/java/org/apache/impala/analysis/CreateFunctionStmtBase.java

Change-Id: I6f603e62b7a013c148c0905ebdec2f4303f9c4e5
Reviewed-on: http://gerrit.cloudera.org:8080/10798
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Reviewed-by: Todd Lipcon <t...@apache.org>
Reviewed-on: http://gerrit.cloudera.org:8080/13114
Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com>


> Build out support for HDFS tables and views in LocalCatalog
> -----------------------------------------------------------
>
>                 Key: IMPALA-7140
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7140
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Catalog, Frontend
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Major
>             Fix For: Impala 3.1.0
>
>
> This subtask tracks the work to build out basic read-only support for HDFS 
> tables and views in the LocalCatalog implementation:
> - loading table schemas
> - loading partitions
> - loading file information from HDFS
> This work will be broken up into a number of patches to keep each piece 
> reviewable. Once this subtask is complete we should be able to plan most 
> simple read-only queries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to