[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-27 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 27/Nov/19 08:44
Start Date: 27/Nov/19 08:44
Worklog Time Spent: 10m 
  Work Description: miklosgergely commented on pull request #843: 
HIVE-22488 Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843
 
 
   
 

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: 350278)
Time Spent: 1h 10m  (was: 1h)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch, HIVE-22488.03.patch
>
>  Time Spent: 1h 10m
>  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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-26 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 26/Nov/19 11:32
Start Date: 26/Nov/19 11:32
Worklog Time Spent: 10m 
  Work Description: miklosgergely commented on pull request #843: 
HIVE-22488 Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843#discussion_r350686812
 
 

 ##
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/creation/createlike/CreateTableLikeDesc.java
 ##
 @@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.hadoop.hive.ql.ddl.table.creation;
 
 Review comment:
   Ok, I've updated the package structure, now the 4 operations are at
   
   `org.apache.hadoop.hive.ql.ddl.table.create`
   `org.apache.hadoop.hive.ql.ddl.table.create.like`
   `org.apache.hadoop.hive.ql.ddl.table.create.show`
   `org.apache.hadoop.hive.ql.ddl.table.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: 349724)
Time Spent: 1h  (was: 50m)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch, HIVE-22488.03.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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-25 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 26/Nov/19 02:12
Start Date: 26/Nov/19 02:12
Worklog Time Spent: 10m 
  Work Description: jcamachor commented on pull request #843: HIVE-22488 
Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843#discussion_r350513931
 
 

 ##
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/creation/createlike/CreateTableLikeDesc.java
 ##
 @@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.hadoop.hive.ql.ddl.table.creation;
 
 Review comment:
   Yes, I believe having `create` or `drop` packages within `table` package, 
even if we have them next to `column`, `constraint`, etc., is more intuitive. 
It seems the additional subpackage does not provide clarity, e.g., 
`creation.drop` or `creation.create` is confusing. Also the `creation` package 
seem small enough already, hence another option is that these classes go 
directly to the `table` package. I believe there are many options, right now it 
is a matter of taste... I would just avoid redundant packages.
 

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: 349504)
Time Spent: 50m  (was: 40m)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-25 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 25/Nov/19 19:01
Start Date: 25/Nov/19 19:01
Worklog Time Spent: 10m 
  Work Description: miklosgergely commented on pull request #843: 
HIVE-22488 Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843#discussion_r350228189
 
 

 ##
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/creation/createlike/CreateTableLikeDesc.java
 ##
 @@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.hadoop.hive.ql.ddl.table.creation;
 
 Review comment:
   I choose this package structure to have a balanced structure for the table 
related operations. There are 46 of them, and having a package for each of them 
would mean an endless list of packages, this is why they were put into packages 
by categories.
   
   Yet I understand your point, if someone is looking at an import it seems 
odd. One way to solve is that you suggested, or we could replace the "creation" 
with something else, like "basic", or "existence", or if you have a better 
suggestion :) This way we'll have a more balanced structure, where there is the 
main category (table), the sub category (some label), and then the actual 
command. But if you believe that having the undoubtedly most straightforward 
name that you've suggested is more important than the balanced package 
structure, I'm totally fine with that too, I think the most important thing is 
to break up the DDLSemanticAnalyzer here, and this question is secondary.
   
   Please let me know what you think.
 

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: 349271)
Time Spent: 40m  (was: 0.5h)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch
>
>  Time Spent: 40m
>  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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-25 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 25/Nov/19 14:51
Start Date: 25/Nov/19 14:51
Worklog Time Spent: 10m 
  Work Description: miklosgergely commented on pull request #843: 
HIVE-22488 Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843#discussion_r350228189
 
 

 ##
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/creation/createlike/CreateTableLikeDesc.java
 ##
 @@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.hadoop.hive.ql.ddl.table.creation;
 
 Review comment:
   I choose this package structure was to have a structure for the table 
related operations. There are 46 of them, and having a package for each of them 
would mean an endless list of packages, this is why they were put into packages 
by categories.
   
   Yet I understand your point, if someone is looking at an import it seems 
odd. One way to solve is that you suggested, or we could replace the "creation" 
with something else, like "basic", or "existence", or if you have a better 
suggestion :) This way we'll have a more balanced structure, where there is the 
main category (table), the sub category (some label), and then the actual 
command. But if you believe that having the undoubtedly most straightforward 
name that you've suggested is more important than the balanced package 
structure, I'm totally fine with that too, I think the most important thing is 
to break up the DDLSemanticAnalyzer here, and this question is secondary.
   
   Please let me know what you think.
 

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: 349169)
Time Spent: 0.5h  (was: 20m)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch
>
>  Time Spent: 0.5h
>  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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 21/Nov/19 00:52
Start Date: 21/Nov/19 00:52
Worklog Time Spent: 10m 
  Work Description: jcamachor commented on pull request #843: HIVE-22488 
Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843#discussion_r348849492
 
 

 ##
 File path: 
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/creation/createlike/CreateTableLikeDesc.java
 ##
 @@ -16,7 +16,7 @@
  * limitations under the License.
  */
 
-package org.apache.hadoop.hive.ql.ddl.table.creation;
 
 Review comment:
   Instead of `org.apache.hadoop.hive.ql.ddl.table.creation.create` or 
`org.apache.hadoop.hive.ql.ddl.table.creation.drop`, isn't it more natural to 
have `org.apache.hadoop.hive.ql.ddl.table.create` or 
`org.apache.hadoop.hive.ql.ddl.table.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: 347104)
Time Spent: 20m  (was: 10m)

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch
>
>  Time Spent: 20m
>  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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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


[jira] [Work logged] (HIVE-22488) Break up DDLSemanticAnalyzer - extract Table creation analyzers

2019-11-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-22488:
-

Author: ASF GitHub Bot
Created on: 13/Nov/19 23:29
Start Date: 13/Nov/19 23:29
Worklog Time Spent: 10m 
  Work Description: miklosgergely commented on pull request #843: 
HIVE-22488 Break up DDLSemanticAnalyzer - extract Table creation analyzers
URL: https://github.com/apache/hive/pull/843
 
 
   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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
move them under the new package.
 

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: 342998)
Remaining Estimate: 0h
Time Spent: 10m

> Break up DDLSemanticAnalyzer - extract Table creation analyzers
> ---
>
> Key: HIVE-22488
> URL: https://issues.apache.org/jira/browse/HIVE-22488
> Project: Hive
>  Issue Type: Sub-task
>Reporter: Miklos Gergely
>Assignee: Miklos Gergely
>Priority: Major
>  Labels: pull-request-available, refactor-ddl
> Attachments: HIVE-22488.01.patch
>
>  Time Spent: 10m
>  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 #9: extract the table creationanalyzers from DDLSemanticAnalyzer, and 
> move them under the new package.



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