Skip to content

Commit

Permalink
Add a test for pseudo match for non-index case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 14, 2012
1 parent 1e407fe commit f81dbde
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 0 deletions.
44 changes: 44 additions & 0 deletions test/command/suite/select/query/match/no_index.expected
@@ -0,0 +1,44 @@
table_create Users TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Users name COLUMN_SCALAR ShortText
[[0,0.0,0.0],true]
load --table Users
[
{"name": "Alice"},
{"name": "Bob"},
{"name": "Carlos"}
]
[[0,0.0,0.0],3]
select Users --query name:@a
[
[
0,
0.0,
0.0
],
[
[
[
2
],
[
[
"_id",
"UInt32"
],
[
"name",
"ShortText"
]
],
[
1,
"Alice"
],
[
3,
"Carlos"
]
]
]
]
11 changes: 11 additions & 0 deletions test/command/suite/select/query/match/no_index.test
@@ -0,0 +1,11 @@
table_create Users TABLE_NO_KEY
column_create Users name COLUMN_SCALAR ShortText

load --table Users
[
{"name": "Alice"},
{"name": "Bob"},
{"name": "Carlos"}
]

select Users --query name:@a

0 comments on commit f81dbde

Please sign in to comment.