[
https://issues.apache.org/jira/browse/HBASE-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570386#action_12570386
]
Bryan Duxbury commented on HBASE-447:
-------------------------------------
Ok, that's awesome. However, when reading from stdin and writing to stdout, we
should definitely suppress the copyright and help info. That'll just make it
more difficult to use in scripts.
> Shell reads from stdin and writes to stdout
> -------------------------------------------
>
> Key: HBASE-447
> URL: https://issues.apache.org/jira/browse/HBASE-447
> Project: Hadoop HBase
> Issue Type: New Feature
> Components: hql
> Reporter: Bryan Duxbury
> Priority: Trivial
>
> Instead of HBASE-39, which would give you the ability to store queries in a
> file and execute them from the shell, we should give the shell the ability to
> read queries from standard input, execute the query, and then write the
> output to standard output.
> The advantage of this approach is that in addition to being able to store
> queries in files, you can also script against the shell. This might mean
> schema creation during an installation wizard, or a shell script that queries
> a small number of rows, or whatever you can think of.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.