You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2008/02/13 20:03:08 UTC

[jira] Commented: (HBASE-45) Outputting select into file

    [ https://issues.apache.org/jira/browse/HBASE-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568675#action_12568675 ] 

Bryan Duxbury commented on HBASE-45:
------------------------------------

+1 to the stdout redirection idea. Basically, the shell has two modes: interactive and stdio. Interactive is the mode we all know today, interactive just expects queries on stdin and writes mostly-unformatted output to stdout.

> Outputting select into file
> ---------------------------
>
>                 Key: HBASE-45
>                 URL: https://issues.apache.org/jira/browse/HBASE-45
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: hql
>            Reporter: Edward Yoon
>            Priority: Minor
>
> {code}
> SELECT { column_name [, column_name] ... | expr[alias] | * }
>     FROM table_name
>     [WHERE row = 'row-key' | STARTING FROM 'row-key' [UNTIL 'stop-key']]
>     [NUM_VERSIONS = version_count]
>     [TIMESTAMP 'timestamp']
>     [LIMIT = row_count]
>     [INTO FILE 'file_name']                                 <----------------*
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.