Repository: incubator-hawq-docs Updated Branches: refs/heads/develop e09d51086 -> 6e9f482ad
Updates [#128377837] 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/6e9f482a Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/6e9f482a Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/6e9f482a Branch: refs/heads/develop Commit: 6e9f482adaf9734f8d8dd6d699dbad61d5aa6355 Parents: e09d510 Author: Jane Beckman <[email protected]> Authored: Mon Aug 15 16:41:07 2016 -0700 Committer: David Yozie <[email protected]> Committed: Fri Aug 19 10:46:20 2016 -0700 ---------------------------------------------------------------------- .../admin_utilities/hawqregister.html.md.erb | 27 +++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/6e9f482a/reference/cli/admin_utilities/hawqregister.html.md.erb ---------------------------------------------------------------------- diff --git a/reference/cli/admin_utilities/hawqregister.html.md.erb b/reference/cli/admin_utilities/hawqregister.html.md.erb index d08558f..1eeaa74 100644 --- a/reference/cli/admin_utilities/hawqregister.html.md.erb +++ b/reference/cli/admin_utilities/hawqregister.html.md.erb @@ -11,6 +11,10 @@ hawq register <databasename> <tablename> <hdfspath> [-h <hostname>] [-p <port>] [-U <username>] + [-d <database>] + [-t <tablename>] + [-f <filepath>] + [-c <yml_config>] hawq register help | -? hawq register --version ``` @@ -50,15 +54,6 @@ The following HIVE data types cannot be converted to HAWQ equivalents: timestamp **Connection Options** -<dt>\<databasename\> </dt> -<dd>The database to register the parquet HDFS data into.<dd> - -<dt>\<tablename\> </dt> -<dd>The HAWQ table that will store the parquet data. The table cannot use hash distribution: only tables using random distribution can be registered into HAWQ.</dd> - -<dt>\<hdfspath\></dt> -<dd>The path of the file or directory containing the files to be registered.</dd> - <dt>-h \<hostname\> </dt> <dd>Specifies the host name of the machine on which the HAWQ master database server is running. If not specified, reads from the environment variable `$PGHOST` or defaults to `localhost`.</dd> @@ -68,6 +63,20 @@ The following HIVE data types cannot be converted to HAWQ equivalents: timestamp <dt>-U \<username\> </dt> <dd>The database role name to connect as. If not specified, reads from the environment variable `$PGUSER` or defaults to the current system user name.</dd> +<dt>-d , --database \<databasename\> </dt> +<dd>The database to register the parquet HDFS data into. The default is `postgres`<dd> + +<dt>-t , --tablename \<tablename\> </dt> +<dd>The HAWQ table that will store the parquet data. The table cannot use hash distribution: only tables using random distribution can be registered into HAWQ.</dd> + +<dt>-f , --filepath \<hdfspath\></dt> +<dd>The path of the file or directory in HDFS containing the files to be registered.</dd> + +<dt>-c , --config \<yml_config\> </dt> +<dd>Registers a YAML-format configuration file into HAWQ.</dd> + + + ## <a id="topic1__section6"></a>Examples This example shows how to register a HIVE-generated parquet file in HDFS into the table `parquet_table` in HAWQ, which is in the database named `postgres`. The file path of the HIVE-generated file is `hdfs://localhost:8020/temp/hive.paq`.
