[ 
https://issues.apache.org/jira/browse/HAWQ-760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15308386#comment-15308386
 ] 

ASF GitHub Bot commented on HAWQ-760:
-------------------------------------

Github user GodenYao commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/679
  
    I'm aware of grammar of external web table from GPDB.
    Here's an example:
    ```
    =# CREATE EXTERNAL WEB TABLE output (output text)
        EXECUTE 'PATH=/home/gpadmin/programs; export PATH; myprogram.sh' 
        FORMAT 'TEXT';
    ```
    
    However, your implementation requires creating a native table first - which 
is not falling into create external web table DDL at all.
    
    Then user needs to run cmdline tool to **register** a new path of the file 
which would swap the original paq file created by the original DDL.



> 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)

Reply via email to