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-4192) Dir0 and Dir1 from drill-1.4 are messed up
Date Mon, 21 Dec 2015 19:27:46 GMT

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

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

Github user hnfgns commented on a diff in the pull request:

    https://github.com/apache/drill/pull/307#discussion_r48180622
  
    --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestBugFixes.java ---
    @@ -144,4 +147,15 @@ public void testDRILL2361_JoinColumnAliasWithDots() throws Exception
{
                 .build().run();
       }
     
    +  @Test
    +  public void testDRILL4192() throws Exception {
    +    String query = (String.format("select dir0, dir1 from dfs_test.`%s/bugs/DRILL-4192`
order by dir1", TEST_RES_PATH));
    --- End diff --
    
    I am wondering if this test should also include an HDFS wildcard.


> Dir0 and Dir1 from drill-1.4 are messed up
> ------------------------------------------
>
>                 Key: DRILL-4192
>                 URL: https://issues.apache.org/jira/browse/DRILL-4192
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Flow
>    Affects Versions: 1.4.0
>            Reporter: Krystal
>            Assignee: Aman Sinha
>            Priority: Blocker
>
> I have the following directories:
> /drill/testdata/temp1/abc/dt=2014-12-30/lineitem.parquet
> /drill/testdata/temp1/abc/dt=2014-12-31/lineitem.parquet
> The following queries returned incorrect data.
> select dir0,dir1 from dfs.`/drill/testdata/temp1` limit 2;
> +----------------+-------+
> |      dir0      | dir1  |
> +----------------+-------+
> | dt=2014-12-30  | null  |
> | dt=2014-12-30  | null  |
> +----------------+-------+
> select dir0 from dfs.`/drill/testdata/temp1` limit 2;
> +----------------+
> |      dir0      |
> +----------------+
> | dt=2014-12-31  |
> | dt=2014-12-31  |
> +----------------+



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

Mime
View raw message