You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/03 03:19:24 UTC
[jira] [Commented] (TAJO-836) create index support
[ https://issues.apache.org/jira/browse/TAJO-836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050955#comment-14050955 ]
ASF GitHub Bot commented on TAJO-836:
-------------------------------------
Github user jihoonson commented on a diff in the pull request:
https://github.com/apache/tajo/pull/15#discussion_r14493424
--- Diff: tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java ---
@@ -150,6 +150,8 @@ public static int setDateOrder(int dateOrder) {
SYSTEM_CONF_PATH("tajo.system-conf.path", EMPTY_VALUE),
SYSTEM_CONF_REPLICA_COUNT("tajo.system-conf.replica-count", 20),
+ INDEX_DIR("tajo.index.rootdir", "file:///tmp/tajo-${user.name}/index"),
--- End diff --
@hyunsik sorry for late reply.
I also intended that INDEX_DIR will be the directory structure.
Actually, several index files for each HDFS block are created in the specified index directory.
> create index support
> --------------------
>
> Key: TAJO-836
> URL: https://issues.apache.org/jira/browse/TAJO-836
> Project: Tajo
> Issue Type: Sub-task
> Components: operator/expression, physical operator, planner/optimizer
> Reporter: Jihoon Son
> Assignee: Jihoon Son
> Priority: Minor
> Fix For: 0.9.0
>
> Attachments: TAJO-836.patch, TAJO-836_2.patch, TAJO-836_3.patch
>
>
> The synopsis is as follows.
> {noformat}
> CREATE [ UNIQUE ] INDEX [ name ] ON table [ USING method ]
> ( { column | ( expression ) } [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] )
> [ WHERE predicate ]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)