[ 
https://issues.apache.org/jira/browse/DRILL-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiao Meng updated DRILL-835:
----------------------------

    Description: 
When querying a large enough json file 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}

  was:
When querying a large enough json file 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}


> 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.json, sqlline.log
>
>
> When querying a large enough json file 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