drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Phillips (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3767) SchemaPath.getCompoundPath(String...strings) reverses it's input array
Date Fri, 11 Sep 2015 18:38:46 GMT

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

Steven Phillips commented on DRILL-3767:
----------------------------------------

I think the side effect should be removed, rather than documented.

> SchemaPath.getCompoundPath(String...strings) reverses it's input array
> ----------------------------------------------------------------------
>
>                 Key: DRILL-3767
>                 URL: https://issues.apache.org/jira/browse/DRILL-3767
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Execution - Codegen
>            Reporter: Deneche A. Hakim
>            Assignee: Deneche A. Hakim
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> If you pass an array of strings to {{SchemaPath.getCompoundPath()}}, the input array
will be reversed. This side effect is *undocumented* and has led to at least one known bug
DRILL-3758



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

Mime
View raw message