Unsigned integers data types

2016-06-16 Thread Ildar Absalyamov
Hi devs, As I was generating various data distributions for statistics experiments one thing kept bothering me. All Asterix integer types (int8, int16, int32, int64) are signed. However majority of real use cases does not require negative integer values. Seems like we are waisting half of the

Re: Unsigned integers data types

2016-06-16 Thread Ildar Absalyamov
Things like Spark and Flink don’t do that as well, but because they need integration with proper Java types. > On Jun 16, 2016, at 15:45, Yingyi Bu wrote: > >>> Is there any database or SQL implementation supporting that? > Ok, it turns out MySQL supports that, while

Re: Unsigned integers data types

2016-06-16 Thread Ian Maxon
My 0.2c is that int64 is big enough if size was the consideration. Usually, the times that I have wished I had unsigned integers in Java, were not related to size constraints, but rather when I had to implement something that required a lot of bitwise operations, since signedness makes that more

Re: Unsigned integers data types

2016-06-16 Thread Yingyi Bu
>> Is there any database or SQL implementation supporting that? Ok, it turns out MySQL supports that, while Postgres, MS SQL and Hive do not have that. Best, Yingyi On Thu, Jun 16, 2016 at 3:40 PM, Yingyi Bu wrote: > >> I guess part of the reason why we do that is because

Re: new AsterixDB web interface demo up and running

2016-06-16 Thread Mike Carey
Sounds like a bug in the underlying http UI?! It would be nice to preserve the multiple-result-area approach that the existing web UI uses in that case, somehow... It's interesting that this hasn't come up before - we should have test cases for the basic UI for that, I would think? On

Re: new AsterixDB web interface demo up and running

2016-06-16 Thread Kaveen Rodrigo
Hey Mike, unordered list , Since I'm parsing the data from the Asterix HTTP API which returns results using JSON, therefore the JSON encoder at the sending end has already converted the unordered list to JavaScript Array. the thing with the existing UI is that UI's result is generated by the

Re: new AsterixDB web interface demo up and running

2016-06-16 Thread Kaveen Rodrigo
Hey Yingyi, I fixed that issue, didn't update the VPS yet. One question Can there be results which returns arrays? for example { [1,2,3], [2,3,4], [5,6,7] } if that's so, if you have some time can you give me an AQl query which will produce something like that. thanks in advance,