asterixdb-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Lim <>
Subject Re: Demo not working?
Date Tue, 26 May 2015 17:02:54 GMT
Hey Eugenia,

I wasn’t able to download your up-to-date branch in the sandbox for some reason. Is there
another way for me to get access to your most up-to-date TweetBook Demo?

Best Regards,
Brandon Lim

On May 22, 2015, at 12:17 PM, Eugenia Gabrielova <> wrote:

> 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 removed.
> 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 (
> -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.
> <Screen Shot 2015-05-22 at 10.58.10 AM.png>
> 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?

> <Screen Shot 2015-05-22 at 11.01.12 AM.png>
> Also, do you know why in the TweetBook demo that the longitude sign bit is flipped? 
> Best Regards,
> Brandon Lim

View raw message