[
https://issues.apache.org/jira/browse/DRILL-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Kishore updated DRILL-796:
---------------------------------
Attachment: DRILL-796-Selecting-from-HBase-tables-filtered-with-.patch
The rowCount field of the MapVector was not initialized in the load() method
(nor was it reset in the clear() method.
> Selecting * from hbase/m7 tables filtered with row_key returns empty arrays
> ---------------------------------------------------------------------------
>
> Key: DRILL-796
> URL: https://issues.apache.org/jira/browse/DRILL-796
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - HBase
> Affects Versions: 1.0.0-rc1
> Reporter: Krystal
> Assignee: Aditya Kishore
> Attachments:
> DRILL-796-Selecting-from-HBase-tables-filtered-with-.patch
>
>
> git.commit.id.abbrev=5d7e3d3
> 0: jdbc:drill:schema=hbase> select * from voter where row_key=650;
> +------------+------------+------------+------------+------------+
> | row_key | fourcf | onecf | threecf | twocf |
> +------------+------------+------------+------------+------------+
> | [B@484265d9 | {} | {} | {} | {} |
> +------------+------------+------------+------------+------------+
> The above table contains multiple regions.
> I have another table that belongs only to 1 region and the same query returns
> non-empty arrays.
> 0: jdbc:drill:schema=hbase> select * from student where row_key=650;
> +------------+------------+------------+------------+------------+------------+
> | row_key | fivecf | fourcf | onecf | threecf | twocf
> |
> +------------+------------+------------+------------+------------+------------+
> | [B@59aa724f | {"create_date":"MjAxNC0wMi0yMCAwMzoxMDoxOA=="} |
> {"studentnum":"OTQ1OTU5NTM4MTI5"} | {"name":"cHJpc2NpbGxhIGljaGFib2Q="} |
> {"gpa":"MS41"} | {"age":"MjI="} |
> +------------+------------+------------+------------+------------+------------+
--
This message was sent by Atlassian JIRA
(v6.2#6252)