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:19:46 GMT

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

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_r48179942
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java
---
    @@ -201,7 +202,7 @@ public static FileSelection create(final DrillFileSystem fs, final
String parent
        *
        * @see FileSelection#FileSelection(List, List, String)
        */
    -  public static FileSelection create(final List<FileStatus> statuses, final List<String>
files, final String root) {
    +  public static FileSelection create(final List<FileStatus> statuses, final List<String>
files, String root) {
    --- End diff --
    
    I would recommend avoiding the re-assignment to root.


> 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