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

George Chow edited comment on DRILL-835 at 5/29/14 4:22 AM:
------------------------------------------------------------

There are 2 sample files:
-metadata-evolution-test.json
-metadata-evolution-test5.json

Both files are essentially a large block of repeating records followed by a 
mutant record towards the end. The first file ends with the mutant. The second 
file has the mutant record followed by one string of repeating records.


was (Author: overcoil):
This file is composed of a repeating sequence of 5 records. Towards the end, 
there is a mutant record, followed by a final sequence of 5 records.

> C++ Client cannot identify schema changes spanning multiple record batch
> ------------------------------------------------------------------------
>
>                 Key: DRILL-835
>                 URL: https://issues.apache.org/jira/browse/DRILL-835
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Xiao Meng
>         Attachments: metadata-evolution-test5.json, metadata-evolution.json, 
> sqlline.log
>
>
> When querying a large enough json file (attached `metadata-evolution.json`) 
> containing mutant. C++ client can not identify the schema changes. See 
> sqlline.log for the metadata information.
> There is a "mutant" in the end of the file
> {code}
> ...
> {
> "name":"EEEEE",
> "isDirectory":false,
> "isFile":true,
> "isSymlink":false,
> "length":"3456",
> "ownerName":"root",
> "groupName":"root",
> "modificationTime":"2011-11-11T14:31:58.000-0700",
> "accessTime":"2012-11-11T14:31:58.000-0700",
> "permission":"-rw-r--r--."
> }
> {
> "name":"Wolverine",
> "mutant":true,
> "age":"100",
> "firstName":"Logan",
> "powers":"Healing, Adamantium claws"
> }
> {
> "name":"AAAAA",
> "isDirectory":true,
> "isFile":false,
> "isSymlink":false,
> "length":"100",
> "ownerName":"root",
> "groupName":"root",
> "modificationTime":"2013-10-11T14:31:58.000-0700",
> "accessTime":"2013-10-11T14:31:58.000-0700",
> "permission":"-rw-r--r--."
> }
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to