drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3643) NTILE(0) returns RuntimeException
Date Fri, 21 Aug 2015 00:13:45 GMT

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

ASF GitHub Bot commented on DRILL-3643:
---------------------------------------

GitHub user adeneche opened a pull request:

    https://github.com/apache/drill/pull/124

    Drill 3643 3654 3668

    bug fixes for DRILL-3643, DRILL-3654 and DRILL-3668
    
    @amansinha100 can you please review ?

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

    $ git pull https://github.com/adeneche/incubator-drill DRILL-3643-3654-3668

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

    https://github.com/apache/drill/pull/124.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 #124
    
----
commit a262e4e62ae21db26323bf3e416e02f711cef2f0
Author: adeneche <adeneche@gmail.com>
Date:   2015-08-17T21:23:55Z

    DRILL-3654: FIRST_VALUE(<char-column>/<varchar-column>) returns IOB Exception

commit 4281e9d7f0a3567411ae964c7ba51990143b1d0a
Author: adeneche <adeneche@gmail.com>
Date:   2015-08-17T22:15:11Z

    DRILL-3643: NTILE(0) returns RuntimeException

commit 8e0a783ac366ce57cddcba676819b17dbe2f09fb
Author: adeneche <adeneche@gmail.com>
Date:   2015-08-19T18:52:29Z

    DRILL-3668: Incorrect results FIRST_VALUE function

----


> NTILE(0) returns RuntimeException
> ---------------------------------
>
>                 Key: DRILL-3643
>                 URL: https://issues.apache.org/jira/browse/DRILL-3643
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.2.0
>         Environment: private-branch https://github.com/adeneche/incubator-drill/tree/new-window-funcs
>            Reporter: Khurram Faraaz
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>              Labels: window_function
>             Fix For: 1.2.0
>
>
> NTILE(0) returns Divide by zero error, on developers private branch
> {code}
> 0: jdbc:drill:schema=dfs.tmp> select col7 , col9 , ntile(0) over(order by col0) lastVal_col9
from FEWRWSPQQ_101;
> java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: ArithmeticException:
/ by zero
> Fragment 0:0
> [Error Id: 18d44cb4-f4f3-46eb-a69d-8ace607ef8fe on centos-03.qa.lab:31010]
> 	at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
> 	at sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87)
> 	at sqlline.TableOutputFormat.print(TableOutputFormat.java:118)
> 	at sqlline.SqlLine.print(SqlLine.java:1583)
> 	at sqlline.Commands.execute(Commands.java:852)
> 	at sqlline.Commands.sql(Commands.java:751)
> 	at sqlline.SqlLine.dispatch(SqlLine.java:738)
> 	at sqlline.SqlLine.begin(SqlLine.java:612)
> 	at sqlline.SqlLine.start(SqlLine.java:366)
> 	at sqlline.SqlLine.main(SqlLine.java:259)
> {code}



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

Mime
View raw message