You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Hanifi Gunes (JIRA)" <ji...@apache.org> on 2014/11/20 21:06:34 UTC

[jira] [Updated] (DRILL-1761) Map values are not entirely populated

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

Hanifi Gunes updated DRILL-1761:
--------------------------------
    Description: 
@90c12c8 

Take the [dataset|https://issues.apache.org/jira/secure/attachment/12682016/yelp-business-small.json]

Running the following:
{code:sql}
select name, attributes from dfs.`local`.`yelp-business-small.json` where business_id='RgDg-k9S5YD_BaxMckifkg'
{code}

reads:
{panel:title=query result}
name | attributes
Chang Jiang Chinese Kitchen | {"Take-out":true,"Good For":{}}
{panel}

while original record has
{code}
{"business_id": "RgDg-k9S5YD_BaxMckifkg" ... "attributes": {"Take-out": true, "Has TV": false, "Outdoor Seating": false, "Attire": "casual"}...}
{code}

  was:
@90c12c8 

Take the [dataset|https://issues.apache.org/jira/secure/attachment/12682016/yelp-business-small.json]

Running the following:
{code:sql}
select name, attributes from dfs.`local`.`yelp-business-small.json` where business_id='RgDg-k9S5YD_BaxMckifkg'
{code}

reads:
{panel:title=query result}
name | attributes
Chang Jiang Chinese Kitchen | {"Take-out":true,"Good For":{}}
{panel}

while original record has
{code}
{"business_id": "RgDg-k9S5YD_BaxMckifkg" ... "attributes": {"Take-out": true, "Has TV": false, "Outdoor Seating": false, "Attire": "casual"...}
{code}


> Map values are not entirely populated
> -------------------------------------
>
>                 Key: DRILL-1761
>                 URL: https://issues.apache.org/jira/browse/DRILL-1761
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Hanifi Gunes
>
> @90c12c8 
> Take the [dataset|https://issues.apache.org/jira/secure/attachment/12682016/yelp-business-small.json]
> Running the following:
> {code:sql}
> select name, attributes from dfs.`local`.`yelp-business-small.json` where business_id='RgDg-k9S5YD_BaxMckifkg'
> {code}
> reads:
> {panel:title=query result}
> name | attributes
> Chang Jiang Chinese Kitchen | {"Take-out":true,"Good For":{}}
> {panel}
> while original record has
> {code}
> {"business_id": "RgDg-k9S5YD_BaxMckifkg" ... "attributes": {"Take-out": true, "Has TV": false, "Outdoor Seating": false, "Attire": "casual"}...}
> {code}



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