Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 on table creation #159

Open
clayrichardson opened this issue May 9, 2017 · 0 comments
Open

404 on table creation #159

clayrichardson opened this issue May 9, 2017 · 0 comments

Comments

@clayrichardson
Copy link

When I create a table through the explorer UI or shell, and try to access it with the explorer, I get a 404

CREATE TABLE order_book_modify
(
  time          TIMESTAMP NOT NULL,
  currency_pair  VARCHAR NOT NULL,
  seq SINT64,
  rate          DOUBLE NOT NULL,
  ask_or_bid      VARCHAR NOT NULL,
  amount        DOUBLE NOT NULL,
  PRIMARY KEY (
    (currency_pair, time),
    currency_pair,
    time,
    rate,
    ask_or_bid,
    amount
  )
);

When I view it through riak-shell, it's fine:

\x{2705} riak-shell(2)>describe order_book_modify;
+-------------+---------+--------+-------------+---------+--------+----+----------+
|   Column    |  Type   |Nullable|Partition Key|Local Key|Interval|Unit|Sort Order|
+-------------+---------+--------+-------------+---------+--------+----+----------+
|    time     |timestamp| false  |      2      |    2    |        |    |          |
|currency_pair| varchar | false  |      1      |    1    |        |    |          |
|     seq     | sint64  |  true  |             |         |        |    |          |
|    rate     | double  | false  |             |    3    |        |    |          |
| ask_or_bid  | varchar | false  |             |    4    |        |    |          |
|   amount    | double  | false  |             |    5    |        |    |          |
+-------------+---------+--------+-------------+---------+--------+----+----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant