Change format of Coverage node to <node>/<number>

This commit is contained in:
Brett Hazen 2016-08-12 10:05:46 -06:00
parent fc0f18a95a
commit a34e910676
2 changed files with 11 additions and 11 deletions

View File

@ -27,14 +27,14 @@
{{command, "EXPLAIN SELECT * FROM GeoCheckin WHERE myfamily = 'family1' AND myseries = 'series1' AND time >= 2 AND time <= 7000000 AND weather='fair';"}, {result, "+--------+-------------------------------------------------------+----------------------------------------------------------+-------------------+----------------------------------------------------------+-----------------+------------------+
|Subquery| Coverage Plan | Range Scan Start Key |Is Start Inclusive?| Range Scan End Key |Is End Inclusive?| Filter |
+--------+-------------------------------------------------------+----------------------------------------------------------+-------------------+----------------------------------------------------------+-----------------+------------------+
| 1 |dev1@127.0.0.1:10, dev1@127.0.0.1:11, dev1@127.0.0.1:12| myfamily = 'family1', myseries = 'series1', time = 2 | false |myfamily = 'family1', myseries = 'series1', time = 900000 | false |(weather = 'fair')|
| 2 |dev1@127.0.0.1:38, dev1@127.0.0.1:39, dev1@127.0.0.1:40|myfamily = 'family1', myseries = 'series1', time = 900000 | false |myfamily = 'family1', myseries = 'series1', time = 1800000| false |(weather = 'fair')|
| 3 |dev1@127.0.0.1:36, dev1@127.0.0.1:37, dev1@127.0.0.1:38|myfamily = 'family1', myseries = 'series1', time = 1800000| false |myfamily = 'family1', myseries = 'series1', time = 2700000| false |(weather = 'fair')|
| 4 |dev1@127.0.0.1:22, dev1@127.0.0.1:23, dev1@127.0.0.1:24|myfamily = 'family1', myseries = 'series1', time = 2700000| false |myfamily = 'family1', myseries = 'series1', time = 3600000| false |(weather = 'fair')|
| 5 |dev1@127.0.0.1:17, dev1@127.0.0.1:18, dev1@127.0.0.1:19|myfamily = 'family1', myseries = 'series1', time = 3600000| false |myfamily = 'family1', myseries = 'series1', time = 4500000| false |(weather = 'fair')|
| 6 |dev1@127.0.0.1:59, dev1@127.0.0.1:60, dev1@127.0.0.1:61|myfamily = 'family1', myseries = 'series1', time = 4500000| false |myfamily = 'family1', myseries = 'series1', time = 5400000| false |(weather = 'fair')|
| 7 |dev1@127.0.0.1:11, dev1@127.0.0.1:12, dev1@127.0.0.1:13|myfamily = 'family1', myseries = 'series1', time = 5400000| false |myfamily = 'family1', myseries = 'series1', time = 6300000| false |(weather = 'fair')|
| 8 |dev1@127.0.0.1:53, dev1@127.0.0.1:54, dev1@127.0.0.1:55|myfamily = 'family1', myseries = 'series1', time = 6300000| false |myfamily = 'family1', myseries = 'series1', time = 7000000| false |(weather = 'fair')|
| 1 |dev1@127.0.0.1/10, dev1@127.0.0.1/11, dev1@127.0.0.1/12| myfamily = 'family1', myseries = 'series1', time = 2 | false |myfamily = 'family1', myseries = 'series1', time = 900000 | false |(weather = 'fair')|
| 2 |dev1@127.0.0.1/38, dev1@127.0.0.1/39, dev1@127.0.0.1/40|myfamily = 'family1', myseries = 'series1', time = 900000 | false |myfamily = 'family1', myseries = 'series1', time = 1800000| false |(weather = 'fair')|
| 3 |dev1@127.0.0.1/36, dev1@127.0.0.1/37, dev1@127.0.0.1/38|myfamily = 'family1', myseries = 'series1', time = 1800000| false |myfamily = 'family1', myseries = 'series1', time = 2700000| false |(weather = 'fair')|
| 4 |dev1@127.0.0.1/22, dev1@127.0.0.1/23, dev1@127.0.0.1/24|myfamily = 'family1', myseries = 'series1', time = 2700000| false |myfamily = 'family1', myseries = 'series1', time = 3600000| false |(weather = 'fair')|
| 5 |dev1@127.0.0.1/17, dev1@127.0.0.1/18, dev1@127.0.0.1/19|myfamily = 'family1', myseries = 'series1', time = 3600000| false |myfamily = 'family1', myseries = 'series1', time = 4500000| false |(weather = 'fair')|
| 6 |dev1@127.0.0.1/59, dev1@127.0.0.1/60, dev1@127.0.0.1/61|myfamily = 'family1', myseries = 'series1', time = 4500000| false |myfamily = 'family1', myseries = 'series1', time = 5400000| false |(weather = 'fair')|
| 7 |dev1@127.0.0.1/11, dev1@127.0.0.1/12, dev1@127.0.0.1/13|myfamily = 'family1', myseries = 'series1', time = 5400000| false |myfamily = 'family1', myseries = 'series1', time = 6300000| false |(weather = 'fair')|
| 8 |dev1@127.0.0.1/53, dev1@127.0.0.1/54, dev1@127.0.0.1/55|myfamily = 'family1', myseries = 'series1', time = 6300000| false |myfamily = 'family1', myseries = 'series1', time = 7000000| false |(weather = 'fair')|
+--------+-------------------------------------------------------+----------------------------------------------------------+-------------------+----------------------------------------------------------+-----------------+------------------+
"}}.
{{command, "EXPLAIN SELECT * FROM GeoCheckin;\n"}, {result, "Error (1001): The query must have a where clause."}}.

View File

@ -45,21 +45,21 @@ confirm() ->
<<"Range Scan End Key">>,
<<"Is End Inclusive?">>,<<"Filter">>],
[{1,
"dev1@127.0.0.1:49",
"dev1@127.0.0.1/49",
"myfamily = 'wingo', myseries = 'dingo', time = 1",
false,
"myfamily = 'wingo', myseries = 'dingo', time = 900000",
false,
"((myoptional = 7) OR ((mybool = true) AND (myvarchar = 'banana')))"},
{2,
"dev1@127.0.0.1:11",
"dev1@127.0.0.1/11",
"myfamily = 'wingo', myseries = 'dingo', time = 900000",
false,
"myfamily = 'wingo', myseries = 'dingo', time = 1800000",
false,
"((myoptional = 7) OR ((mybool = true) AND (myvarchar = 'banana')))"},
{3,
"dev1@127.0.0.1:59",
"dev1@127.0.0.1/59",
"myfamily = 'wingo', myseries = 'dingo', time = 1800000",
false,
"myfamily = 'wingo', myseries = 'dingo', time = 2000000",