[ 
https://issues.apache.org/jira/browse/HIVE-22179?focusedWorklogId=310197&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-310197
 ]

ASF GitHub Bot logged work on HIVE-22179:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Sep/19 23:57
            Start Date: 10/Sep/19 23:57
    Worklog Time Spent: 10m 
      Work Description: jcamachor commented on pull request #763: HIVE-22179 
Break up DDLSemanticAnalyzer - extract Function related analyzers
URL: https://github.com/apache/hive/pull/763#discussion_r323008042
 
 

 ##########
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/DropFunctionHandler.java
 ##########
 @@ -19,7 +19,7 @@
 
 import org.apache.hadoop.hive.metastore.messaging.DropFunctionMessage;
 import org.apache.hadoop.hive.ql.ddl.DDLWork;
-import org.apache.hadoop.hive.ql.ddl.function.DropFunctionDesc;
+import org.apache.hadoop.hive.ql.ddl.function.dropfunction.DropFunctionDesc;
 
 Review comment:
   `dropfunction` -> `drop` ?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 310197)
    Time Spent: 1h  (was: 50m)

> 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
>         Attachments: HIVE-22179.01.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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 FunctionSemanticAnalyzer and MacroSemanticAnalyzer, and move them under 
> the new package.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to