You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Shivram Mani (JIRA)" <ji...@apache.org> on 2016/04/05 02:35:26 UTC

[jira] [Resolved] (HAWQ-577) Stream PXF metadata response

     [ https://issues.apache.org/jira/browse/HAWQ-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shivram Mani resolved HAWQ-577.
-------------------------------
    Resolution: Fixed

> Stream PXF metadata response 
> -----------------------------
>
>                 Key: HAWQ-577
>                 URL: https://issues.apache.org/jira/browse/HAWQ-577
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: PXF
>            Reporter: Shivram Mani
>            Assignee: Shivram Mani
>
> getMetadata api returns the metadata corresponding to the user specified pattern. There is no limit to the #of tables the pattern can correspond do and the current approach of building in memory the json object might not scale.
> We needed to serialize them inside a streaming object similar to the approach used for streaming the FragmentsResponse
> The same applies also for the debug function that prints metadata of all the items - if there are too many of them the StringBuilder will run out of memory. The solution in the fragments case was to print a log of one fragment at a time.



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