You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2016/12/23 00:54:58 UTC

[jira] [Created] (HAWQ-1234) Document HAWQ to PXF APIs

Roman Shaposhnik created HAWQ-1234:
--------------------------------------

             Summary: Document HAWQ to PXF APIs
                 Key: HAWQ-1234
                 URL: https://issues.apache.org/jira/browse/HAWQ-1234
             Project: Apache HAWQ
          Issue Type: Sub-task
          Components: PXF
            Reporter: Roman Shaposhnik
            Assignee: Ed Espino


It would be very useful to start documenting HAWQ to PXF APIs. The right places to start are:
   * libcurl (a thin wrapper for making HAWQ C code be able to do REST calls):
https://github.com/apache/incubator-hawq/blob/master/src/include/access/libchurl.h
https://github.com/apache/incubator-hawq/blob/master/src/backend/access/external/libchurl.c
   * pxfmasterapi (mostly metadata calls that master is doing):
https://github.com/apache/incubator-hawq/blob/master/src/backend/access/external/pxfmasterapi.c
Here you will find how HAWQ via PXF pulls using a REST API to get external metadata and some logic to parse the JSON response.
   * gpbridgeapi (segment calls to PXF):
https://github.com/apache/incubator-hawq/blob/master/src/bin/gpfusion/gpbridgeapi.c
Here you will find other examples of (read and write calls) used to fetch external data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)