You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Grant Priestley <Gr...@colesfinancialservices.com.au> on 2015/10/21 03:33:16 UTC

HBase get.setTimeRange() support

Hi Drill Developers,

I am hoping to introduce Drill into a Big Data environment in the hopes of supporting analysts with temporal queries off HBase.  After going through the documentation online, I havben't been able to find if Drill is able to leverage HBase's  get.setTimeRange() when querying data within HBase.  Does this functionality exist in Drill 1.2.0?

Cheers,
Grant

Grant Priestley
Domain Architect (Analytics) | Coles Financial Services
L1 M12 800 Toorak Road Hawthorn East Victoria 3123 Australia
T  |  +61 416 320 936   e  |  grant.priestley@colesfinancialservices.com.au<ma...@colesfinancialservices.com.au>
[cid:image001.png@01D04B73.BA61ACB0]


Re: HBase get.setTimeRange() support

Posted by Grant Priestley <gr...@gmail.com>.
Hi Guys,

Thanks for responding and apologies in the delay of my response, just found
out the corporate email was blocking things.  My dilemma is that my
requirement is for analysts to be able to query this via a SQL function, so
leveraging the API probably not an option to my problem.

I was thinking value would be represented as a map.. or array (most
analysts are comfortable with arrays), though some have analysts have
suggested multiple rows.  I was also thinking that that columns with
multiple versions would use the previous version's timestamp as the expiry
date.

Thoughts?

Grant

On Thu, Oct 22, 2015 at 7:22 AM, Steven Phillips <st...@dremio.com> wrote:

> I would think if we want to expose the timestamp field, we should add
> another layer of nesting. In other words, every qualifier, which is
> currently a single value, would actually be a map, which includes a value
> field and timestamp field. Of course, we could also take it a step further
> and expose versions as well, in which case each qualifier would be a
> repeated map.
>
> There's also the idea of using table functions to modify the table scan
> using the API of the underlying storage if there is something that is not
> easily expressed via SQL.
>
> On Wed, Oct 21, 2015 at 12:05 PM, Jacques Nadeau <ja...@dremio.com>
> wrote:
>
>> We've talked about how to expose this but haven't yet exposed it. What do
>> you think a good way to expose this would be? A separate set of columns
>> (e.g. qualifier and qualifier_timestamp)? Do you also need access to
>> multiple versions or only the timestamp?
>>
>> --
>> Jacques Nadeau
>> CTO and Co-Founder, Dremio
>>
>> On Tue, Oct 20, 2015 at 6:33 PM, Grant Priestley <
>> Grant.Priestley@colesfinancialservices.com.au> wrote:
>>
>> > Hi Drill Developers,
>> >
>> >
>> >
>> > I am hoping to introduce Drill into a Big Data environment in the hopes
>> of
>> > supporting analysts with temporal queries off HBase.  After going
>> through
>> > the documentation online, I havben’t been able to find if Drill is able
>> to
>> > leverage HBase’s  get.setTimeRange() when querying data within HBase.
>> Does
>> > this functionality exist in Drill 1.2.0?
>> >
>> >
>> >
>> > Cheers,
>> >
>> > Grant
>> >
>> >
>> >
>> > Grant Priestley
>> > Domain Architect (Analytics) | Coles Financial Services
>> >
>> > L1 M12 800 Toorak Road Hawthorn East Victoria 3123 Australia
>> > T  |  +61 416 320 936   e  |
>> > grant.priestley@colesfinancialservices.com.au
>> >
>> > [image: cid:image001.png@01D04B73.BA61ACB0]
>> >
>> >
>> >
>>
>
>

Re: HBase get.setTimeRange() support

Posted by Steven Phillips <st...@dremio.com>.
I would think if we want to expose the timestamp field, we should add
another layer of nesting. In other words, every qualifier, which is
currently a single value, would actually be a map, which includes a value
field and timestamp field. Of course, we could also take it a step further
and expose versions as well, in which case each qualifier would be a
repeated map.

There's also the idea of using table functions to modify the table scan
using the API of the underlying storage if there is something that is not
easily expressed via SQL.

On Wed, Oct 21, 2015 at 12:05 PM, Jacques Nadeau <ja...@dremio.com> wrote:

> We've talked about how to expose this but haven't yet exposed it. What do
> you think a good way to expose this would be? A separate set of columns
> (e.g. qualifier and qualifier_timestamp)? Do you also need access to
> multiple versions or only the timestamp?
>
> --
> Jacques Nadeau
> CTO and Co-Founder, Dremio
>
> On Tue, Oct 20, 2015 at 6:33 PM, Grant Priestley <
> Grant.Priestley@colesfinancialservices.com.au> wrote:
>
> > Hi Drill Developers,
> >
> >
> >
> > I am hoping to introduce Drill into a Big Data environment in the hopes
> of
> > supporting analysts with temporal queries off HBase.  After going through
> > the documentation online, I havben’t been able to find if Drill is able
> to
> > leverage HBase’s  get.setTimeRange() when querying data within HBase.
> Does
> > this functionality exist in Drill 1.2.0?
> >
> >
> >
> > Cheers,
> >
> > Grant
> >
> >
> >
> > Grant Priestley
> > Domain Architect (Analytics) | Coles Financial Services
> >
> > L1 M12 800 Toorak Road Hawthorn East Victoria 3123 Australia
> > T  |  +61 416 320 936   e  |
> > grant.priestley@colesfinancialservices.com.au
> >
> > [image: cid:image001.png@01D04B73.BA61ACB0]
> >
> >
> >
>

Re: HBase get.setTimeRange() support

Posted by Jacques Nadeau <ja...@dremio.com>.
We've talked about how to expose this but haven't yet exposed it. What do
you think a good way to expose this would be? A separate set of columns
(e.g. qualifier and qualifier_timestamp)? Do you also need access to
multiple versions or only the timestamp?

--
Jacques Nadeau
CTO and Co-Founder, Dremio

On Tue, Oct 20, 2015 at 6:33 PM, Grant Priestley <
Grant.Priestley@colesfinancialservices.com.au> wrote:

> Hi Drill Developers,
>
>
>
> I am hoping to introduce Drill into a Big Data environment in the hopes of
> supporting analysts with temporal queries off HBase.  After going through
> the documentation online, I havben’t been able to find if Drill is able to
> leverage HBase’s  get.setTimeRange() when querying data within HBase.  Does
> this functionality exist in Drill 1.2.0?
>
>
>
> Cheers,
>
> Grant
>
>
>
> Grant Priestley
> Domain Architect (Analytics) | Coles Financial Services
>
> L1 M12 800 Toorak Road Hawthorn East Victoria 3123 Australia
> T  |  +61 416 320 936   e  |
> grant.priestley@colesfinancialservices.com.au
>
> [image: cid:image001.png@01D04B73.BA61ACB0]
>
>
>