[
https://issues.apache.org/jira/browse/DRILL-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14041917#comment-14041917
]
B Anil Kumar commented on DRILL-1039:
-------------------------------------
Hi Krystal,
I verified this scenario by creating 5 regions(and table data is distributed on
all the regions).
But I am able to query properly as below. Can you please verify from your end?
0: jdbc:drill:> select cast(f1['c1'] as varchar(20)) c1 from hbase.`drilltest1`;
+------------+
| c1 |
+------------+
| v20 |
| v21 |
| v3 |
| v10 |
| v101 |
| v11 |
| v12 |
| v13 |
| v14 |
| v15 |
| v16 |
| v17 |
| v18 |
| v19 |
| v1 |
| v1 |
| v41 |
| v5 |
| v51 |
| v6 |
| v61 |
| v7 |
| v71 |
| v8 |
| v81 |
| v9 |
| v91 |
| v31 |
| v4 |
+------------+
29 rows selected (286.251 seconds)
> 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)