anchor.diff:      Lexed = riak_ql_lexer:get_tokens(Query),
       {ok, _SQL} = riak_ql_parser:parse(Lexed).
   
  +get_standard_pk() -> #key_v1{ast = [
  +				#hash_fn_v1{mod = riak_ql_quanta,
  +					    fn = quantum,
  +					    args = [
  +						    #param_v1{name = [<<"time">>]},
  +						    15,
  +						    s
  +						   ],
  +					    type = timestamp}
  +			       ]
  +			}.
  +
  +get_standard_lk() -> #key_v1{ast = [
  +				    #param_v1{name = [<<"time">>]},
  +				    #param_v1{name = [<<"user">>]}
  +				   ]}.
  +
   %%
   %% Passing Tests
   %%
  
positive.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",
  	      [
  	      #riak_sql_v1{'SELECT'      = [["weather"]],
  			   'FROM'        = <<"GeoCheckin">>,
  			   'WHERE'       = [
  					     {startkey, '>', 3000},
  					     {endkey,   '<', 15000}
  					   ],
  			   is_executable = true,
  			   type          = timeseries},
  	      #riak_sql_v1{'SELECT'      = [["weather"]],
  			   'FROM'        = <<"GeoCheckin">>,
  			   'WHERE'       = [
  					     {startkey, '>=', 15000},
  					     {endkey,   '<',  18000}
  					   ],
  			   is_executable = true,
  			   type          = timeseries}
  	      ]).
  
negative.code:               ++ "time timestamp not null, "
                ++ "weather varchar not null, "
                ++ "temperature varchar, "
                ++ "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">>]],
  