drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4482) Avro no longer selects data correctly from a sub-structure
Date Mon, 07 Mar 2016 01:45:40 GMT

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

Jacques Nadeau commented on DRILL-4482:
---------------------------------------

Stefan, would you mind submitting a new set of tests extending BaseTestQuery with sample files
and key queries that you use? That way we know that we're covering key use cases in the test
suite. You can model your tests after: 

https://github.com/apache/drill/blob/master/exec/java-exec/src/test/java/org/apache/drill/TestExampleQueries.java

Note how we use the test builder to construct a query and expected result. If you provide
a PR for this, we can make sure that your cases don't fail in the future.

thanks!

> Avro no longer selects data correctly from a sub-structure
> ----------------------------------------------------------
>
>                 Key: DRILL-4482
>                 URL: https://issues.apache.org/jira/browse/DRILL-4482
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Avro
>    Affects Versions: 1.6.0
>            Reporter: Stefán Baxter
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> Parquet:
> 0: jdbc:drill:zk=local> select s.client_ip.ip from dfs.asa.`/processed/<>/transactions`
as s limit 1;
> +----------------+
> |     EXPR$0     |
> +----------------+
> | 87.55.171.210  |
> +----------------+
> 1 row selected (1.184 seconds)
> Avro:
> 0: jdbc:drill:zk=local> select s.client_ip.ip from dfs.asa.`/streaming/<>/transactions`
as s limit 1;
> +---------+
> | EXPR$0  |
> +---------+
> | null    |
> +---------+
> 1 row selected (0.29 seconds)



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

Mime
View raw message