You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Khurram Faraaz (JIRA)" <ji...@apache.org> on 2017/03/30 11:53:42 UTC

[jira] [Commented] (DRILL-5051) DRILL-5051: Fix incorrect result returned in nest query with offset specified

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

Khurram Faraaz commented on DRILL-5051:
---------------------------------------

Verified. Tests added to framework/resources/Functional/joins/join/drill_5051*.q into private branch.

> DRILL-5051: Fix incorrect result returned in nest query with offset specified
> -----------------------------------------------------------------------------
>
>                 Key: DRILL-5051
>                 URL: https://issues.apache.org/jira/browse/DRILL-5051
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Query Planning & Optimization
>    Affects Versions: 1.8.0
>         Environment: Fedora 24 / OpenJDK 8
>            Reporter: Hongze Zhang
>            Assignee: Hongze Zhang
>              Labels: ready-to-commit
>             Fix For: 1.10.0
>
>
> My SQl:
> select count(1) from (select id from (select id from cp.`tpch/lineitem.parquet` LIMIT 2) limit 1 offset 1) 
> This SQL returns nothing.
> Something goes wrong in LimitRecordBatch.java, and the reason is different with [DRILL-4884|https://issues.apache.org/jira/browse/DRILL-4884?filter=-2]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)