You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2015/08/04 04:54:04 UTC

[jira] [Commented] (TAJO-1373) Refactoring the createTable() function in StorageManager

    [ https://issues.apache.org/jira/browse/TAJO-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652992#comment-14652992 ] 

Hyunsik Choi commented on TAJO-1373:
------------------------------------

Will you fix it in 0.11?

> Refactoring the createTable() function in StorageManager
> --------------------------------------------------------
>
>                 Key: TAJO-1373
>                 URL: https://issues.apache.org/jira/browse/TAJO-1373
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>             Fix For: 0.11.0
>
>
> *Introduction*
> The StorageManager abstract class has a function for the table creation, called createTable(). This function is originally intended to be called after executing a "CREATE TABLE" statement. 
> *Problem*
> However, for HBase, this function must be executed before the "CREATE TABLE" statement execution because HBase must be ready to store table data. This makes developers confused, thereby causing many bugs. Many other storage types such as DBMSs can have the same problem.
> *Solution*
> So, I suggest to add another method, named beforeCreateTable(), to StorageManager. In addition, it would be good to change createTable() to afterCreateTable().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)