drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Nadeau <jacq...@dremio.com>
Subject Re: support for sequences?
Date Wed, 21 Oct 2015 00:04:42 GMT
Not currently.

How do you guys implement that in Phoenix since I assume the sequence would
need to be global and unique (and also distributed).

--
Jacques Nadeau
CTO and Co-Founder, Dremio

On Tue, Oct 20, 2015 at 9:24 AM, James Taylor <jamestaylor@apache.org>
wrote:

> Does Drill support sequences in queries for things such as ID generation?
>
>   CREATE TABLE suppliers
>     AS (SELECT NEXT VALUE FOR supplier_id_seq, address, city, state, zip
>            FROM companies
>            WHERE city = 'San Francisco');
>
> Thanks,
> James
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message