You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@asterixdb.apache.org by Magnus Kongshem <ko...@online.ntnu.no> on 2016/03/16 11:58:53 UTC

using uuid

Doing the following in the web ui

drop dataverse bigd if exists;
    create dataverse bigd;
    use dataverse bigd;

    create type table as open {
uid: uuid,
        campus: string,
building: string,
floor: string,
        timestamp: int32,
dayOfWeek: int32,
hourOfDay: int32,
        latitude: double,
        salt_timestamp: int32,
        longitude: double,
        id: string,
accuracy: double
    }

Gives me  "Could not resolve type uuid [AlgebricksException]"

What am I doing wrong here?

-- 

Mvh

Magnus Alderslyst Kongshem
+47 415 65 906

Re: using uuid

Posted by Taewoo Kim <wa...@gmail.com>.
It's executed without an issue in the current master. I just confirmed.
Maybe you are using some old release version?

Best,
Taewoo

On Wed, Mar 16, 2016 at 10:11 AM, Ian Maxon <im...@uci.edu> wrote:

> Yeah that is surprising to me as well. uuid support has been in the master
> branch for something like a year now.
>
> On Wed, Mar 16, 2016 at 5:24 AM, Wail Alkowaileet <wa...@gmail.com>
> wrote:
>
>> What AsterixDB version you're using ?
>>
>> On Wed, Mar 16, 2016 at 1:58 PM, Magnus Kongshem <kongshem@online.ntnu.no
>> > wrote:
>>
>>>
>>> Doing the following in the web ui
>>>
>>> drop dataverse bigd if exists;
>>>     create dataverse bigd;
>>>     use dataverse bigd;
>>>
>>>     create type table as open {
>>> uid: uuid,
>>>         campus: string,
>>> building: string,
>>> floor: string,
>>>         timestamp: int32,
>>> dayOfWeek: int32,
>>> hourOfDay: int32,
>>>         latitude: double,
>>>         salt_timestamp: int32,
>>>         longitude: double,
>>>         id: string,
>>> accuracy: double
>>>     }
>>>
>>> Gives me  "Could not resolve type uuid [AlgebricksException]"
>>>
>>> What am I doing wrong here?
>>>
>>> --
>>>
>>> Mvh
>>>
>>> Magnus Alderslyst Kongshem
>>> +47 415 65 906
>>>
>>
>>
>>
>> --
>>
>> *Regards,*
>> Wail Alkowaileet
>>
>
>

Re: using uuid

Posted by Ian Maxon <im...@uci.edu>.
Yeah that is surprising to me as well. uuid support has been in the master
branch for something like a year now.

On Wed, Mar 16, 2016 at 5:24 AM, Wail Alkowaileet <wa...@gmail.com>
wrote:

> What AsterixDB version you're using ?
>
> On Wed, Mar 16, 2016 at 1:58 PM, Magnus Kongshem <ko...@online.ntnu.no>
> wrote:
>
>>
>> Doing the following in the web ui
>>
>> drop dataverse bigd if exists;
>>     create dataverse bigd;
>>     use dataverse bigd;
>>
>>     create type table as open {
>> uid: uuid,
>>         campus: string,
>> building: string,
>> floor: string,
>>         timestamp: int32,
>> dayOfWeek: int32,
>> hourOfDay: int32,
>>         latitude: double,
>>         salt_timestamp: int32,
>>         longitude: double,
>>         id: string,
>> accuracy: double
>>     }
>>
>> Gives me  "Could not resolve type uuid [AlgebricksException]"
>>
>> What am I doing wrong here?
>>
>> --
>>
>> Mvh
>>
>> Magnus Alderslyst Kongshem
>> +47 415 65 906
>>
>
>
>
> --
>
> *Regards,*
> Wail Alkowaileet
>

Re: using uuid

Posted by Wail Alkowaileet <wa...@gmail.com>.
What AsterixDB version you're using ?

On Wed, Mar 16, 2016 at 1:58 PM, Magnus Kongshem <ko...@online.ntnu.no>
wrote:

>
> Doing the following in the web ui
>
> drop dataverse bigd if exists;
>     create dataverse bigd;
>     use dataverse bigd;
>
>     create type table as open {
> uid: uuid,
>         campus: string,
> building: string,
> floor: string,
>         timestamp: int32,
> dayOfWeek: int32,
> hourOfDay: int32,
>         latitude: double,
>         salt_timestamp: int32,
>         longitude: double,
>         id: string,
> accuracy: double
>     }
>
> Gives me  "Could not resolve type uuid [AlgebricksException]"
>
> What am I doing wrong here?
>
> --
>
> Mvh
>
> Magnus Alderslyst Kongshem
> +47 415 65 906
>



-- 

*Regards,*
Wail Alkowaileet