Fix ID placement
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/3358d502 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/3358d502 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/3358d502 Branch: refs/heads/develop Commit: 3358d502979abeb36bcc6e7bd8e66f0c71fd85f8 Parents: 8e116c5 Author: Jane Beckman <[email protected]> Authored: Fri Sep 30 16:27:16 2016 -0700 Committer: Jane Beckman <[email protected]> Committed: Fri Sep 30 16:27:16 2016 -0700 ---------------------------------------------------------------------- datamgmt/load/g-register_files.html.md.erb | 8 ++++---- reference/cli/admin_utilities/hawqregister.html.md.erb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/3358d502/datamgmt/load/g-register_files.html.md.erb ---------------------------------------------------------------------- diff --git a/datamgmt/load/g-register_files.html.md.erb b/datamgmt/load/g-register_files.html.md.erb index f04c3bb..93625f1 100644 --- a/datamgmt/load/g-register_files.html.md.erb +++ b/datamgmt/load/g-register_files.html.md.erb @@ -1,5 +1,5 @@ --- -title: Registering Files into HAWQ Internal Tables<a id="topic1__section1"></a> +title: Registering Files into HAWQ Internal Tables --- The `hawq register` utility loads and registers HDFS data files or folders into HAWQ internal tables. Files can be read directly, rather than having to be copied or loaded, resulting in higher performance and more efficient transaction processing. @@ -18,7 +18,7 @@ Requirements for running `hawq register` on the server are: - The files to be registered and the HAWQ table must be located in the same HDFS cluster. - The target table DDL is configured with the correct data type mapping. -##Registering Externally Generated HDFS File Data to an Existing Table<a id="topic1__section2"></a> +##<a id="topic1__section2"></a>Registering Externally Generated HDFS File Data to an Existing Table Files or folders in HDFS can be registered into an existing table, allowing them to be managed as a HAWQ internal table. When registering files, you can optionally specify the maximum amount of data to be loaded, in bytes, using the `--eof` option. If registering a folder, the actual file sizes are used. @@ -64,7 +64,7 @@ then running select relname from pg_class where oid = segrelid ``` -##Registering Data Using Information from a YAML Configuration File<a id="topic1__section3"></a> +## <a id="topic1__section3"></a>Registering Data Using Information from a YAML Configuration File The `hawq register` command can register HDFS files by using metadata loaded from a YAML configuration file by using the `--config <yaml_config\>` option. Both AO and Parquet tables can be registered. Tables need not exist in HAWQ before being registered. This function can be useful in disaster recovery, allowing information created by the `hawq extract` command to re-create HAWQ tables. @@ -112,7 +112,7 @@ Select the new table and check to verify that the content has been registered. ``` -##Data Type Mapping<a id="topic1__section4"></a> +## <a id="topic1__section4"></a>Data Type Mapping<a id="topic1__section4"></a> HIVE and Parquet tables use different data types than HAWQ tables. Mapping must be used for metadata compatibility. You are responsible for making sure your implementation is mapped to the appropriate data type before running `hawq register`. The tables below show equivalent data types, if available. http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/3358d502/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 02b65fd..bd2907e 100644 --- a/reference/cli/admin_utilities/hawqregister.html.md.erb +++ b/reference/cli/admin_utilities/hawqregister.html.md.erb @@ -1,5 +1,5 @@ --- -title: hawq register<a id="topic1__section1"></a> +title: hawq register --- Loads and registers AO or Parquet-formatted tables in HDFS into a corresponding table in HAWQ.
