You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2008/12/02 20:22:44 UTC

[jira] Updated: (HIVE-102) Refactor DDLTask

     [ https://issues.apache.org/jira/browse/HIVE-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Oskarsson updated HIVE-102:
---------------------------------

    Attachment: HIVE-102.patch

I've refactored the execute method using eclipse's extract method to simply split it up into one method per operation.

> Refactor DDLTask
> ----------------
>
>                 Key: HIVE-102
>                 URL: https://issues.apache.org/jira/browse/HIVE-102
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>            Reporter: Johan Oskarsson
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: HIVE-102.patch
>
>
> DDLTask have one method that is around 400 lines long. Refactor the if statements into methods to increase readability.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.