drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1039) Queries against hbase table with multiple regions return null
Date Tue, 24 Jun 2014 15:10:25 GMT

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

Krystal updated DRILL-1039:
---------------------------

    Description: 
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.


> 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: 
>            Reporter: Krystal
>
> 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.




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message