hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dyozie <...@git.apache.org>
Subject [GitHub] incubator-hawq-docs pull request #90: HAWQ-1289 - add hive profile example w...
Date Wed, 25 Jan 2017 22:17:04 GMT
Github user dyozie commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq-docs/pull/90#discussion_r97890133
  
    --- Diff: markdown/pxf/HivePXF.html.md.erb ---
    @@ -134,14 +134,30 @@ Create a Hive table to expose our sample data set.
         hive> LOAD DATA LOCAL INPATH '/tmp/pxf_hive_datafile.txt'
                 INTO TABLE sales_info;
         ```
    +    
    +    In examples later in this section, you will access the `sales_info` Hive table directly
via PXF. You will also insert `sales_info` data into tables of other Hive file format types,
and use PXF to access those directly as well.
     
     3. Perform a query on `sales_info` to verify that the data was loaded successfully:
     
         ``` sql
         hive> SELECT * FROM sales_info;
         ```
     
    -In examples later in this section, you will access the `sales_info` Hive table directly
via PXF. You will also insert `sales_info` data into tables of other Hive file format types,
and use PXF to access those directly as well.
    +### <a id="get_hdfs_file_location"></a>Determine the HDFS location of a Hive
Table
    +
    +Should you need to identify the HDFS file location of a Hive managed table, you will
reference it using its HDFS file path. You can determine a Hive table's location in HDFS using
the `DESCRIBE` command, for example:
    --- End diff --
    
    Small edit - remove "you will"


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