You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/02/21 08:51:00 UTC

[jira] [Commented] (IMPALA-10515) Planner refactoring to support external FE

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

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

Commit d271baa33da1a02aa6ffc47b0380dc62239107b4 in impala's branch refs/heads/master from Aman Sinha
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=d271baa ]

IMPALA-10515: Refactoring to support external frontend.

This patch does some minimal refactoring of the frontend
code to allow an external frontend to leverage certain apis
and class variables. A couple of new methods are also added.
The changes include:
 - modifying a few class methods to be public static
 - changing visibility of a few private member variables to
   protected for use by a derived class
 - adding an alternate PlannerContext constructor
 - passing an additional initialization parameter to BackendConfig
 - minimal refactor of selectivity calculation for predicates
 - refactor of count(*) optimization methods
 - small changes to the validatePlan and useParallelPlan
 - new clone method for functions and one for null literals

Testing:
 - Ran PlannerTest and TpcdsPlannerTest
 - Ran e2e TPCH tests for sanity check
 - Since these are refactoring changes, no new tests are added in
   this patch but once other supporting changes are done, I
   anticipate adding sanity tests for external FE in a future commit.

Change-Id: I70035ec082be09a9583275191248d085414b27dd
Reviewed-on: http://gerrit.cloudera.org:8080/17080
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Planner refactoring to support external FE
> ------------------------------------------
>
>                 Key: IMPALA-10515
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10515
>             Project: IMPALA
>          Issue Type: Sub-task
>          Components: Frontend
>            Reporter: Aman Sinha
>            Assignee: Aman Sinha
>            Priority: Major
>
> This sub-task is for some refactoring work needed in existing planner to support external frontend. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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