[
https://issues.apache.org/jira/browse/TAJO-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383334#comment-14383334
]
ASF GitHub Bot commented on TAJO-1452:
--------------------------------------
GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/tajo/pull/470
TAJO-1452: Improve function listing order
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/tajo TAJO-1452
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/470.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #470
----
commit 2a6e2044746cbb3a174faea6f31fb788d72ea332
Author: Dongjoon Hyun <[email protected]>
Date: 2015-03-27T04:24:37Z
TAJO-1452: Improve function listing order
----
> Improve function listing order
> ------------------------------
>
> Key: TAJO-1452
> URL: https://issues.apache.org/jira/browse/TAJO-1452
> Project: Tajo
> Issue Type: Improvement
> Components: cli, web UI
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Trivial
> Fix For: 0.10.1
>
>
> Tajo shows users function list in two places(CLI,Web) in only alphabetical
> `function name`, `result type` order. This issue propose to display them in
> `function name`, `type`, `result type', 'argument type' order.
> *tsql*
> {code}
> default> \df sum
> Name | Result type | Argument types | Description
> | Type
> -----------------+-----------------+-----------------------+-----------------------------------------------+-----------
> sum | INT8 | int4 | the sum of a set
> of numbers | AGGREGATIO
> sum | INT8 | int8 | the sum of a set
> of numbers | AGGREGATIO
> sum | INT8 | int8 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | INT8 | int4 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | FLOAT8 | float8 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | FLOAT8 | float4 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | FLOAT8 | float8 | the sum of a set
> of numbers | AGGREGATIO
> sum | FLOAT8 | float4 | the sum of a set
> of numbers | AGGREGATIO
> {code}
> {code}
> default> \df sum
> Name | Result type | Argument types | Description
> | Type
> -----------------+-----------------+-----------------------+-----------------------------------------------+-----------
> sum | FLOAT8 | float4 | the sum of a set
> of numbers | AGGREGATIO
> sum | FLOAT8 | float8 | the sum of a set
> of numbers | AGGREGATIO
> sum | INT8 | int4 | the sum of a set
> of numbers | AGGREGATIO
> sum | INT8 | int8 | the sum of a set
> of numbers | AGGREGATIO
> sum | FLOAT8 | float4 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | FLOAT8 | float8 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | INT8 | int4 | the sum of a
> distinct and non-null values | DISTINCT_A
> sum | INT8 | int8 | the sum of a
> distinct and non-null values | DISTINCT_A
> {code}
> `http://localhost:26080/functions.jsp` will change the result in the same
> order.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)