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

Goden Yao commented on HAWQ-340:
--------------------------------

{"version": "v14"} is preferable. as we use "v14" on the c code side as well as 
in the URL.

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

Reply via email to