[
https://issues.apache.org/jira/browse/HADOOP-2595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558889#action_12558889
]
Edward Yoon commented on HADOOP-2595:
-------------------------------------
MySQL?
{code}
$ mysql -u USER -p Database -e "select * from stack;" > /tmp/stack
Or
[INTO OUTFILE 'file_name' export_options | INTO DUMPFILE 'file_name' | INTO
var_name [, var_name]]
{code}
IMO, i don't think it is necessary thing. (It was added by inchul)
But, I believe the dynamic capabilities will be provided flexible and adaptable
to changing needs without hard-code changes.
Are you for or against my opinion?
> [HQL] Outputting select into file
> ---------------------------------
>
> Key: HADOOP-2595
> URL: https://issues.apache.org/jira/browse/HADOOP-2595
> Project: Hadoop
> Issue Type: New Feature
> Components: contrib/hbase
> Affects Versions: 0.16.0
> Reporter: Edward Yoon
> Assignee: Edward Yoon
> Priority: Minor
> Fix For: 0.17.0
>
>
> {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.