hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Work logged] (HIVE-22179) Break up DDLSemanticAnalyzer - extract Function related analyzers
Date Tue, 10 Sep 2019 23:58:00 GMT

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

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_r323008710
 
 

 ##########
 File path: ql/src/java/org/apache/hadoop/hive/ql/ddl/function/descfunction/DescFunctionAnalyzer.java
 ##########
 @@ -0,0 +1,58 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.hive.ql.ddl.function.descfunction;
 
 Review comment:
   `descfunction` -> `desc` ?
 
----------------------------------------------------------------
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:
users@infra.apache.org


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

    Worklog Id:     (was: 310193)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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)

Mime
View raw message