Pekka Enberg
d63649bf65
cql3: Fix CQL parser error message for counter types
...
The CQL tokenizer recognizes "COUNTER" token but the parser rule for
counter type is disabled. This causes users to see the following error
in cqlsh, for example:
CREATE TABLE count (u int PRIMARY KEY, c counter);
SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message=" : cannot match to any predicted input... ">
We cannot disable the "COUNTER" token because it's also used in batch
statements. Instead, fix the issue by implementing a stub counter type.
Fixes #195 .
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com >
2015-08-27 15:34:43 +03:00
..
2015-08-24 11:15:41 +03:00
2015-08-24 09:06:13 +03:00
2015-08-14 14:53:35 +02:00
2015-08-27 15:34:43 +03:00
2015-07-24 10:21:11 +02:00
2015-07-24 10:21:11 +02:00
2015-05-12 16:32:56 +03:00
2015-08-24 09:06:13 +03:00
2015-07-24 10:21:11 +02:00
2015-07-10 10:49:30 +03:00
2015-07-10 10:49:30 +03:00
2015-04-29 15:40:38 +03:00
2015-05-12 16:41:12 +03:00
2015-07-24 10:21:11 +02:00
2015-07-24 10:21:11 +02:00
2015-07-25 17:34:56 +03:00
2015-07-06 23:36:48 +02:00
2015-08-24 09:06:13 +03:00
2015-08-27 15:34:43 +03:00
2015-08-27 15:34:43 +03:00
2015-07-06 08:21:15 +02:00
2015-08-27 15:34:43 +03:00
2015-02-12 19:40:58 +01:00
2015-02-12 19:40:58 +01:00
2015-07-10 10:42:10 +03:00
2015-07-10 10:42:10 +03:00
2015-07-10 10:31:56 +03:00
2015-07-10 10:31:56 +03:00
2015-08-24 09:06:13 +03:00
2015-07-22 15:30:13 +02:00
2015-08-24 09:06:13 +03:00
2015-07-22 15:30:13 +02:00
2015-08-13 10:45:27 +02:00
2015-04-20 16:15:34 +03:00
2015-04-29 15:40:38 +03:00
2015-05-12 16:41:12 +03:00
2015-02-04 10:29:00 +01:00
2015-02-12 19:40:58 +01:00
2015-04-14 15:36:42 +02:00
2015-08-24 09:06:13 +03:00
2015-08-24 09:06:13 +03:00
2015-08-17 09:48:58 +03:00
2015-07-09 00:12:08 -04:00
2015-03-24 12:03:00 +01:00
2015-07-08 10:02:31 +02:00
2015-03-11 14:56:10 +01:00
2015-08-24 09:06:13 +03:00
2015-07-22 15:30:13 +02:00
2015-08-13 10:45:27 +02:00
2015-04-29 15:40:38 +03:00
2015-08-24 09:06:13 +03:00
2015-08-14 16:12:42 +02:00
2015-07-08 10:02:31 +02:00
2015-08-24 09:06:13 +03:00
2015-04-20 16:15:34 +03:00
2015-07-06 08:21:16 +02:00
2015-07-07 11:38:22 -04:00
2015-04-15 20:44:50 +02:00
2015-07-30 14:10:06 +02:00
2015-08-24 09:06:13 +03:00
2015-07-24 10:21:11 +02:00
2015-07-24 10:21:11 +02:00
2015-05-12 16:32:56 +03:00