You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by lisakowen <gi...@git.apache.org> on 2016/11/21 21:24:34 UTC

[GitHub] incubator-hawq-docs pull request #63: HAWQ-1164 hcatalog access restrictions

GitHub user lisakowen opened a pull request:

    https://github.com/apache/incubator-hawq-docs/pull/63

    HAWQ-1164 hcatalog access restrictions

    identify specific conditions under which extra privileges must be granted to user querying Hive tables via HCatalog.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lisakowen/incubator-hawq-docs feature/hcatalog-access

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq-docs/pull/63.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #63
    
----
commit b5df91c8b9c4cb890dfd508821068a9db778e716
Author: Lisa Owen <lo...@pivotal.io>
Date:   2016-11-21T16:48:53Z

    HAWQ-1164 - hcatalog access

----


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

[GitHub] incubator-hawq-docs pull request #63: HAWQ-1164 hcatalog access restrictions

Posted by sansanichfb <gi...@git.apache.org>.
Github user sansanichfb commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq-docs/pull/63#discussion_r89021235
  
    --- Diff: pxf/HivePXF.html.md.erb ---
    @@ -495,24 +511,24 @@ postgres=# SELECT * FROM hcatalog.default.sales_info;
     
     To obtain a description of a Hive table with HCatalog integration, you can use the `psql` client interface.
     
    --   Within HAWQ, use either the `\d                                         hcatalog.hive-db-name.hive-table-name` or `\d+                                         hcatalog.hive-db-name.hive-table-name` commands to describe a single table. For example, from the `psql` client interface:
    +-   Within HAWQ, use either the `\d                                         hcatalog.hive-db-name.hive-table-name` or `\d+                                         hcatalog.hive-db-name.hive-table-name` commands to describe a single table. `\d+` displays both the HAWQ and Hive data type, while `\d` displays only the HAWQ data type. For example, from the `psql` client interface:
    --- End diff --
    
    \d feature was designed to not stick to any particular source. In above example it's Hive, but it might be something else in future.


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

[GitHub] incubator-hawq-docs pull request #63: HAWQ-1164 hcatalog access restrictions

Posted by lisakowen <gi...@git.apache.org>.
Github user lisakowen closed the pull request at:

    https://github.com/apache/incubator-hawq-docs/pull/63


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

[GitHub] incubator-hawq-docs pull request #63: HAWQ-1164 hcatalog access restrictions

Posted by sansanichfb <gi...@git.apache.org>.
Github user sansanichfb commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq-docs/pull/63#discussion_r89021822
  
    --- Diff: pxf/HivePXF.html.md.erb ---
    @@ -553,7 +569,7 @@ Alternatively, you can use the `pxf_get_item_fields` user-defined function (UDF)
     HCatalog integration has the following limitations:
     
     -   HCatalog integration queries and describe commands do not support complex types; only primitive types are supported. Use PXF external tables to query complex types in Hive. (See [Complex Types Example](#complex_dt_example).)
    --   Even for primitive types, HCatalog metadata descriptions produced by `\d` and` \d+` are converted to HAWQ types. For example, the Hive type `tinyint` is converted to HAWQ type `int2`. (See [Data Type Mapping](#hive_primdatatypes).)
    +-   Even for primitive types, HCatalog metadata descriptions produced by `\d` are converted to HAWQ types. For example, the Hive type `tinyint` is converted to HAWQ type `int2`. (See [Data Type Mapping](#hive_primdatatypes).)
    --- End diff --
    
    In this case more accurate is to say that \d show's Hawq's interpretation of underlying Hive's datatypes, and \d+ shows both interpreted and original types.


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