anchor.diff:                ++ "time timestamp not null, "
                 ++ "weather varchar not null, "
                 ++ "temperature varchar, "
  -              ++ "PRIMARY KEY ((quantum(time, 15, m)), time, user))",
  +              ++ "PRIMARY KEY ((quantum(time, 15, s)), time, user))",
                 "select weather from GeoCheckin where time > 3000 and time < 5000 and user = gordon",
                [
                 #riak_sql_v1{'SELECT'      = [[<<"weather">>]],
  
positive.code:     Lexed = riak_ql_lexer:get_tokens(Query),
      {ok, _SQL} = riak_ql_parser:parse(Lexed).
  
  %%
  %% Passing Tests
  %%
  
negative.code: 		  "weather varchar not null, " ++ 
  		  "temperature varchar, " ++ 
  		  "PRIMARY KEY((quantum(time, 15, s)), time, user))", 
  	      "select weather from GeoCheckin where time > 3000 and time < 18000 "
  	      "and user = gordon",
  	      [
  	      #riak_sql_v1{'SELECT'      = [[<<"weather">>]],
  			   'FROM'        = <<"GeoCheckin">>,
  			   'WHERE'       = [
  	                                            {startkey, [
                                                          {<<"time">>,  3000},
                                                          {<<"user">>, <<"gordon">>}
                                                         ]
                                              },
                                              {endkey,   [
                                                          {<<"time">>, 15000},
                                                          {<<"user">>, <<"gordon">>}
                                                         ]
                                              },
                                              {filter, []}
  					   ],
                             helper_mod    = riak_ql_ddl:make_module_name(<<"GeoCheckin">>),
                             partition_key = get_standard_pk(),
  			   is_executable = true,
  			   type          = timeseries,
                             local_key     = get_standard_lk()},
  	      #riak_sql_v1{'SELECT'      = [[<<"weather">>]],
  			   'FROM'        = <<"GeoCheckin">>,
  			   'WHERE'       = [
                                              {startkey, [
                                                          {<<"time">>,  15000},
                                                          {<<"user">>, <<"gordon">>}
                                                         ]
                                              },
                                              {endkey,   [
                                                          {<<"time">>, 18000},
                                                          {<<"user">>, <<"gordon">>}
                                                         ]
                                              },
                                              {filter, []}
  					   ],
                             helper_mod    = riak_ql_ddl:make_module_name(<<"GeoCheckin">>),
                             partition_key = get_standard_pk(),
  			   is_executable = true,
  			   type          = timeseries,
                             local_key     = get_standard_lk()}
  	      ]).
  