[ https://issues.apache.org/jira/browse/HAWQ-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303807#comment-15303807 ]
ASF GitHub Bot commented on HAWQ-760: ------------------------------------- Github user changleicn commented on a diff in the pull request: https://github.com/apache/incubator-hawq/pull/679#discussion_r64879203 --- Diff: tools/doc/hawqregister_help --- @@ -0,0 +1,97 @@ +COMMAND NAME: hawq register + +Register parquet files generated by other system into the corrsponding table in hawq + +***************************************************** +SYNOPSIS +***************************************************** + +hawq extract [-h hostname] [-p port] [-U username] <databasename> <tablename> <hdfspath> + +hawq extract help +hawq extract -? + +hawq extract --version + +***************************************************** +DESCRIPTION +***************************************************** + +Hawq register si a utility to register file(s) in hdfs into +the table in hawq. It will move the file in the path(if path +refers to a file) or files under the path(if path refers to a +directory) into a new place corresponding to the table <tablename>, +and then update the meatadata in the table. + +To use hawq register, HAWQ must have been started. + +Currently hawq register supports parquet file(s) and table only. +User have to make sure that the structure of the parquet file(s) +and the table are the same. + --- End diff -- Currently "hawq register" supports parquet tables only. Users have to make sure that the meta data of the parquet file(s) and the table are consistent. > Hawq register > ------------- > > Key: HAWQ-760 > URL: https://issues.apache.org/jira/browse/HAWQ-760 > Project: Apache HAWQ > Issue Type: New Feature > Components: Command Line Tools > Reporter: Yangcheng Luo > Assignee: Lei Chang > > Users sometimes want to register data files generated by other system like > hive into hawq. We should add register function to support registering > file(s) generated by other system like hive into hawq. So users could > integrate their external file(s) into hawq conveniently. -- This message was sent by Atlassian JIRA (v6.3.4#6332)