You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Caleb Welton (JIRA)" <ji...@apache.org> on 2016/01/13 20:31:40 UTC

[jira] [Commented] (HAWQ-340) Make getVersion API return JSON format

    [ https://issues.apache.org/jira/browse/HAWQ-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096847#comment-15096847 ] 

Caleb Welton commented on HAWQ-340:
-----------------------------------

Any thoughts on the format of the json document?
E.g. which of the following valid json documents did you have in mind?
{code}"v14"{code}
{code}{"version": "v14"}{code}
{code}{"version": [1,4]}{code}
{code}{"PXF protocol version": "v14"}{code}
etc

> Make getVersion API return JSON format
> --------------------------------------
>
>                 Key: HAWQ-340
>                 URL: https://issues.apache.org/jira/browse/HAWQ-340
>             Project: Apache HAWQ
>          Issue Type: Sub-task
>          Components: PXF
>            Reporter: Goden Yao
>            Assignee: Goden Yao
>             Fix For: 2.0.0
>
>
> It's best practice to return in JSON format.
> current return string looks like this: 
> {code}
>  b.entity("PXF protocol version " + Version.PXF_PROTOCOL_VERSION);
> {code}



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