Skip to content

Instantly share code, notes, and snippets.

@andytill
Created February 10, 2017 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andytill/79caccb14605c7f00797404dcc4c7d05 to your computer and use it in GitHub Desktop.
Save andytill/79caccb14605c7f00797404dcc4c7d05 to your computer and use it in GitHub Desktop.
1001 error
riak-shell(3)>INSERT INTO grouptab3 VALUES('x');
Error (1001): <<"Invalid date/time string">>
riak-shell(4)>INSERT INTO grouptab3 VALUES(NULL);
Error (1003): Invalid data found at row index(es) 1
riak-shell(5)>INSERT INTO grouptab3 VALUES(2.3);
Error (1003): Invalid data found at row index(es) 1
riak-shell(6)>INSERT INTO grouptab3 VALUES(2.3, 'hi');
Error (1018): too many values in row index(es) 1
riak-shell(7)>SHOW CREATE TABLE grouptab3;
CREATE TABLE grouptab3 (a TIMESTAMP NOT NULL,
PRIMARY KEY ((QUANTUM(a, 1, 's')), a))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment