[ https://issues.apache.org/jira/browse/DRILL-7257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847699#comment-16847699 ]
Arina Ielchiieva commented on DRILL-7257: ----------------------------------------- Merged into master with commit id 2c1a8a0afa3a1d8853e7651f1b3d47d52969f50a. > [Text V3 Reader] dir0 is empty if a column filter returns all lines. > -------------------------------------------------------------------- > > Key: DRILL-7257 > URL: https://issues.apache.org/jira/browse/DRILL-7257 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 1.16.0 > Reporter: Anton Gozhiy > Assignee: Paul Rogers > Priority: Major > Labels: ready-to-commit > Fix For: 1.17.0 > > Attachments: lineitempart.zip > > > *Data:* > Unzip the attached archive: lineitempart.zip. > *Steps:* > # Set exec.storage.enable_v3_text_reader=true > # Run the following query: > {code:sql} > select columns[0], dir0 from dfs.tmp.`/drill/data/lineitempart` where > dir0=1994 and columns[0]>29766 order by columns[0] limit 1; > {code} > *Expected result:* > {noformat} > +--------+------+ > | EXPR$0 | dir0 | > +--------+------+ > | 29767 | 1994 | > +--------+------+ > {noformat} > *Actual result:* > {noformat} > +--------+------+ > | EXPR$0 | dir0 | > +--------+------+ > | 29767 | | > +--------+------+ > {noformat} > *Note:* If change filter a bit so it doesn't return all lines, everything is > ok: > {noformat} > apache drill> select columns[0], dir0 from dfs.tmp.`/drill/data/lineitempart` > where dir0=1994 and columns[0]>29767 order by columns[0] limit 1; > +--------+------+ > | EXPR$0 | dir0 | > +--------+------+ > | 29792 | 1994 | > +--------+------+ > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)