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

ASF GitHub Bot commented on TAJO-979:
-------------------------------------

GitHub user babokim opened a pull request:

    https://github.com/apache/tajo/pull/100

    TAJO-979: Dividing float value by zero should throw "Divide by zero 
Exception"

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/babokim/tajo TAJO-979

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/100.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 #100
    
----
commit fe26b88ceeb30b11fd8b0e222a602de504a8f7cf
Author: 김형준 <[email protected]>
Date:   2014-08-01T03:23:19Z

    TAJO-979: Dividing float value by zero should throw "Divide by zero 
Exception"

----


> Dividing float value by zero should throw "Divide by zero Exception"
> --------------------------------------------------------------------
>
>                 Key: TAJO-979
>                 URL: https://issues.apache.org/jira/browse/TAJO-979
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>            Priority: Critical
>
> See the title. Currently Tajo returns "Infinity".
> This is a result of Tajo.
> {noformat}
> default> select 10.0/0;
> ?divide
> -------------------------------
> Infinity
> (1 rows, 0.003 sec, 0 B selected)
> default> select 10/0;
> ERROR: / by zero
> {noformat}
> This is a result of Postgresql. 
> {noformat}
> babokim=# select 10.0/0.0;
> ERROR:  division by zero
> babokim=# select 10.0/0;
> ERROR:  division by zero
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to