[
https://issues.apache.org/jira/browse/TAJO-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205987#comment-14205987
]
Hyoungjun Kim commented on TAJO-1122:
-------------------------------------
Hi [~jihoonson], Thanks for your comment.
In the following two cases, StoreType is directly typed as a string.
- In the function of StorageManager which returns its storage type.
- In the USING clause when creating a table. In this case TajoMaster can verify
the store type.
So the most storeType variable is uses as a parameter.
StorageManager can initiate the concrete instance by store type of table like
appender as you said.
My suggestion is to change the storeType variable of TableMeta class to the
string type.
> Refactor the tajo-storage project structure.
> --------------------------------------------
>
> Key: TAJO-1122
> URL: https://issues.apache.org/jira/browse/TAJO-1122
> Project: Tajo
> Issue Type: Sub-task
> Reporter: Hyoungjun Kim
> Assignee: Hyoungjun Kim
> Priority: Minor
>
> 'tajo-storage' sub-project will be changed to the following structure which
> is more flexible for adding new storage.
> {noformat}
> tajo-storage
> tajo-storage-common
> src
> pom.xml
> tajo-external-storage
> tajo-hbase
> src
> pom.xml
> tajo-<other storage>
> src
> pom.xml
> pom.xml
> pom.xml
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)