asterixdb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Maxon <>
Subject Re: Demo not working?
Date Fri, 22 May 2015 18:41:04 GMT
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 (


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