hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From changleicn <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-760. Add hawq register to suppor...
Date Fri, 27 May 2016 16:28:36 GMT
Github user changleicn commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/679#discussion_r64931437
  
    --- Diff: tools/doc/hawqregister_help ---
    @@ -1,33 +1,35 @@
     COMMAND NAME: hawq register
     
    -Register parquet files generated by other system into the corrsponding table in hawq
    +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 register [-h hostname] [-p port] [-U username] <databasename> <tablename>
<hdfspath>
     
    -hawq extract help 
    -hawq extract -? 
    +hawq register help
    +hawq register -?
     
    -hawq extract --version
    +hawq register --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
    +"hawq register" is a utility to register file(s) on HDFS into
    +the table in HAWQ. It moves 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.
    +directory) into the table directory corresponding to the table,
    +and then update the table meta data to include the files.
     
    -To use hawq register, HAWQ must have been started.
    +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.
    +Currently "hawq register" supports parquet tables only.
    +User have to make sure that the meta data of the parquet file(s)
    +and the table are consistent.
    +The table to be registered into should not be hash-typed, which
    +is created by using "distributed by" statement when creating that table.
    --- End diff --
    
    hash-typed => hash distributed


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message