asterixdb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugenia Gabrielova <>
Subject Re: Demo not working?
Date Fri, 22 May 2015 19:17:37 GMT
Hi Brandon!

As a heads up, I have a branch in sandbox with some up-to-date changes and
fixes on the TweetbookDemo. I'll keep an eye out on this thread if you have
any questions, or I can look through code with you on campus if you prefer.

The longitude shift was just a debugging thing for me when I was playing
with spatial queries, to match an older version of the geospatial demo
(pre-Tweetbooks). It's not an Asterix-related thing and can easily be

On Fri, May 22, 2015 at 11:41 AM, Ian Maxon <> wrote:

> Hi Brandon,
> Interesting. I wasn't quite sure how to solve this initially, but there is
> a function that does the trick. (however it isn't documented in master!...)
> parse-datetime should be able to do the trick. For your example. "
>  parse-datetime("Fri May 11 07:53:00 +0000 2012", "W MMM DD hh:mm:ss z
> YYYY")  " will give the proper AQL object from the string. The first part
> is (obviously) the date to be parsed. The second is the formatting string,
> which is not very well documented, but appears to follow Java's convention (
> closely.
> -Ian
> On Fri, May 22, 2015 at 11:01 AM, Brandon Lim <> wrote:
>> Hey Ian,
>> Quick question. So I’m trying to align my dataset or how my dataset is
>> handled with the dataset that is currently in use by the TweetBook demo,
>> but one thing is that the TweetBook demo allows it to query based on
>> datetime.
>> This is what the data for the TweetBook demo looks like. Everything is
>> already preprocessed.
>> This is what my data looks like. Is there an easy way to convert this
>> into datetime?
>> Also, do you know why in the TweetBook demo that the longitude sign bit
>> is flipped?
>> Best Regards,
>> Brandon Lim

View raw message