hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Shaposhnik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1234) Document HAWQ to PXF APIs
Date Fri, 23 Dec 2016 00:54:58 GMT
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)

Mime
View raw message