You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Miklos Gergely (Jira)" <ji...@apache.org> on 2019/09/07 21:40:00 UTC
[jira] [Updated] (HIVE-22179) Break up DDLSemanticAnalyzer -
extract Function related analyzers
[ https://issues.apache.org/jira/browse/HIVE-22179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miklos Gergely updated HIVE-22179:
----------------------------------
Description:
DDLSemanticAnalyzer is a huge class, more than 4000 lines long. The goal is to refactor it in order to have everything cut into more handleable classes under the packageĀ org.apache.hadoop.hive.ql.exec.ddl:
* have a separate class for each analyzers
* have a package for each operation, containing an analyzer, a description, and an operation, so the amount of classes under a package is more manageable
Step #2: extract all the functin related analyzers from DDLSemanticAnalyzer and FunctionAnalyzer, and move them under the new package.
was:
DDLSemanticAnalyzer is a huge class, more than 4000 lines long. The goal is to refactor it in order to have everything cut into more handleable classes under the packageĀ org.apache.hadoop.hive.ql.exec.ddl:
* have a separate class for each analyzers
* have a package for each operation, containing an analyzer, a description, and an operation, so the amount of classes under a package is more manageable
Step #1: extract all the database related analyzers from DDLSemanticAnalyzer, and move them under the new package. Also create the new internal framework.
> Break up DDLSemanticAnalyzer - extract Function related analyzers
> -----------------------------------------------------------------
>
> Key: HIVE-22179
> URL: https://issues.apache.org/jira/browse/HIVE-22179
> Project: Hive
> Issue Type: Sub-task
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Major
> Labels: pull-request-available, refactor-ddl
>
> DDLSemanticAnalyzer is a huge class, more than 4000 lines long. The goal is to refactor it in order to have everything cut into more handleable classes under the packageĀ org.apache.hadoop.hive.ql.exec.ddl:
> * have a separate class for each analyzers
> * have a package for each operation, containing an analyzer, a description, and an operation, so the amount of classes under a package is more manageable
> Step #2: extract all the functin related analyzers from DDLSemanticAnalyzer and FunctionAnalyzer, and move them under the new package.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)