[
https://issues.apache.org/jira/browse/HBASE-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Yoon updated HBASE-67:
-----------------------------
Attachment: 67.patch
{code}
bash-3.00# ./bin/hbase shell
HQL, 0.2.0-dev version.
Copyright (c) 2008 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.
hql > help select;
+-----------------------------------------------------------------------------+
| Command |
+-----------------------------------------------------------------------------+
| SELECT |
| Select values from table |
| |
| 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']; |
+-----------------------------------------------------------------------------+
hql > exit;
bash-3.00# bin/hbase shell --html
HQL, 0.2.0-dev version.
Copyright (c) 2008 by udanax, licensed to Apache Software Foundation.
Type 'help;' for usage.
hql > help select;
<table>
<tr>
<th>
Command
</th>
<th>
Description
</th>
<th>
Example
</th>
</tr>
<tr>
<td>
SELECT
</td>
<td>
Select values from table
</td>
<td>
SELECT {column_name, [, column_name] ... | expr[alias] | * }
<br/> FROM table_name
<br/> [WHERE row='row_key' | STARTING FROM 'row-key' [UNTIL 'stop-key']]
<br/> [NUM_VERSIONS = version_count] [TIMESTAMP 'timestamp']
<br/> [LIMIT = row_count] [INTO FILE 'file_name'];
<br/>
</td>
</tr>
</table>
hql > exit;
{code}
> Addition of Help Output Formatter
> ---------------------------------
>
> Key: HBASE-67
> URL: https://issues.apache.org/jira/browse/HBASE-67
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: hql
> Affects Versions: 0.1.0
> Environment: All
> Reporter: Edward Yoon
> Priority: Trivial
> Fix For: 0.2.0
>
> Attachments: 67.patch
>
>
> Current help-output is some difficult to read.
> {code}
> +-------------------------+-------------------------+-------------------------+
> | SELECT | Select values from table| SELECT {column_name, [,
> |
> | | | column_name] ... | *}
> FR|
> | | | OM table_name [WHERE
> row|
> | | | ='row_key' | STARTING
> FR|
> | | | OM 'row-key']
> [NUM_VERSI|
> | | | ONS = version_count]
> [TI|
> | | | MESTAMP 'timestamp']
> [LI|
> | | | MIT = row_count] [INTO
> F|
> | | | ILE 'file_name'];
> |
> +-------------------------+-------------------------+-------------------------+
> | JAR | Hadoop RunJar util | JAR jarFile [mainClass]
> |
> | | | arguments...;
> |
> +-------------------------+-------------------------+-------------------------+
> | CLEAR | Clear the screen | CLEAR;
> |
> +-------------------------+-------------------------+-------------------------+
> | DESCRIBE | Print table information | [DESCRIBE|DESC]
> table_na|
> | | | me;
> |
> +-------------------------+-------------------------+-------------------------+
> hql >
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.