You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2015/09/02 04:05:46 UTC

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

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

Jihoon Son resolved TAJO-1373.
------------------------------
    Resolution: Won't Fix

StorageManager is already redesigned at TAJO-1616.

> 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.12.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)