use <> for optional args
Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/67e8b969 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/67e8b969 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/67e8b969 Branch: refs/heads/develop Commit: 67e8b9699c9eec64d04ce9e6048ffb385f7f3573 Parents: 5cdd8f8 Author: Lisa Owen <[email protected]> Authored: Tue Oct 11 13:33:35 2016 -0700 Committer: Lisa Owen <[email protected]> Committed: Tue Oct 11 13:33:35 2016 -0700 ---------------------------------------------------------------------- pxf/HivePXF.html.md.erb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/67e8b969/pxf/HivePXF.html.md.erb ---------------------------------------------------------------------- diff --git a/pxf/HivePXF.html.md.erb b/pxf/HivePXF.html.md.erb index 6a7d9af..85e85e7 100644 --- a/pxf/HivePXF.html.md.erb +++ b/pxf/HivePXF.html.md.erb @@ -148,9 +148,9 @@ The PXF Hive plug-in supports several Hive-related profiles. These include `Hive Use the following syntax to create a HAWQ external table representing Hive data: ``` sql -CREATE EXTERNAL TABLE table_name - ( column_name data_type [, ...] | LIKE other_table ) -LOCATION ('pxf://host[:port]/hive-db-name.hive-table-name +CREATE EXTERNAL TABLE <table_name> + ( <column_name> <data_type> [, ...] | LIKE <other_table> ) +LOCATION ('pxf://<host>[:<port>]/<hive-db-name>.<hive-table-name> ?PROFILE=Hive|HiveText|HiveRC[&DELIMITER=delim']) FORMAT 'CUSTOM|TEXT' (formatter='pxfwritable_import' | delimiter='delim') ``` @@ -159,9 +159,9 @@ Hive-plug-in-specific keywords and values used in the [CREATE EXTERNAL TABLE](.. | Keyword | Value | |-------|-------------------------------------| -| host | The HDFS NameNode. | -| hive-db-name | Name of the Hive database. If omitted, defaults to the Hive database named `default`. | -| hive-table-name | Name of the Hive table. | +| \<host\> | The HDFS NameNode. | +| \<hive-db-name\> | Name of the Hive database. If omitted, defaults to the Hive database named `default`. | +| \<hive-table-name\> | Name of the Hive table. | | PROFILE | The `PROFILE` keyword must specify one of the values `Hive`, `HiveText`, or `HiveRC`. | | DELIMITER | The `DELIMITER` clause is required for both the `HiveText` and `HiveRC` profiles and identifies the field delimiter used in the Hive data set. `delim` must be a single ascii character or specified in hexadecimal representation. | | FORMAT (`Hive` profile) | The `FORMAT` clause must specify `CUSTOM`. The `CUSTOM` format supports only the built-in `pxfwritable_import` `formatter`. |
