Krystal created DRILL-1039:
------------------------------
Summary: Queries against hbase table with multiple regions return
null
Key: DRILL-1039
URL: https://issues.apache.org/jira/browse/DRILL-1039
Project: Apache Drill
Issue Type: Bug
Components: Storage - HBase
Environment: git.commit.id.abbrev=894037a
This is a regression. Ran the following query in sqlline:
0: jdbc:drill:schema=dfs> select cast(row_key as integer) voter_id,
cast(onecf['name'] as varchar(30)) name, cast(twocf['age'] as integer) age,
cast(twocf['registration'] as varchar(20)) registration,
cast(threecf['contributions'] as decimal(6,2)) contributions,
cast(threecf['voterzone'] as integer) voterzone,cast(fourcf['create_date'] as
timestamp) create_date from hbase.voter where row_key = 5;
+------------+------------+------------+--------------+---------------+------------+-------------+
| voter_id | name | age | registration | contributions |
voterzone | create_date |
+------------+------------+------------+--------------+---------------+------------+-------------+
| 5 | null | null | null | null | null
| 1970-01-01 00:00:00.0 |
+------------+------------+------------+--------------+---------------+------------+-------------+
The same query returns expected data against an hbase table that resides in
single partition.
Reporter: Krystal
--
This message was sent by Atlassian JIRA
(v6.2#6252)