[
https://issues.apache.org/jira/browse/TAJO-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyunsik Choi updated TAJO-353:
------------------------------
Attachment: TAJO-353.patch
I've just submitted the patch. This work took longer time than I expected. It
has required a bunch of changes. I'm very sorry for submitting a big patch.
This patch adds database namespace to Tajo catalog and all query processing
related things. So, we can use join statements on multiple tables across
different databases. Also, this patch adds CREATE DATABASE \[IF NOT EXISTS] and
DROP DATABASE \[IF EXISTS] statements to parser, and planner.
The database namespace requires user session system because each connected user
has to keep current database. This patch also includes session system, and
session commands to TajoCli. Besides, I've filled some methods and changed Tajo
JDBC to support database namespace and its related things.
I've tested the patch on Derby, MySQL, and HCatalog catalog stores. For that,
I've improved TestCatalog to directly work on MySQL instance. You can see how
you run TestCatalog test with MySQLStore at
http://wiki.apache.org/tajo/UnitTests. And, I've added lots of unit tests for
database namespaces and almost things I've changed.
This patch also includes the documentation updates. You can see the updated
pages:
* http://people.apache.org/~hyunsik/TAJO-353/cli.html
* http://people.apache.org/~hyunsik/TAJO-353/sql_language/ddl.html
*
http://people.apache.org/~hyunsik/TAJO-353/configuration/catalog_configuration.html
> Add Database support to Tajo
> ----------------------------
>
> Key: TAJO-353
> URL: https://issues.apache.org/jira/browse/TAJO-353
> Project: Tajo
> Issue Type: New Feature
> Components: catalog
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.8-incubating, 1.0-incubating
>
> Attachments: TAJO-353.patch
>
>
> Currently, all tables reside in single namespace (default). Tajo should
> support multiple namespaces (i.e., databases) so that users can create tables
> in independent namespace.
--
This message was sent by Atlassian JIRA
(v6.2#6252)