Navigation Menu

Skip to content

Commit

Permalink
test: stop to use too special value
Browse files Browse the repository at this point in the history
We don't need to use "" for this case.
  • Loading branch information
kou committed Sep 11, 2018
1 parent a3f92c4 commit ea43799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -9,5 +9,5 @@ load --table Users
{"_key": "alice", "tags": ["book", "people"]}
]
[[0,0.0,0.0],1]
select Users --filter true --scorer '_score = (tags._key != "")' --output_columns _score
select Users --filter true --scorer '_score = (tags._key != "cat")' --output_columns _score
[[0,0.0,0.0],[[[1],[["_score","Int32"]],[1]]]]
2 changes: 1 addition & 1 deletion test/command/suite/select/scorer/expression/reference.test
Expand Up @@ -7,5 +7,5 @@ load --table Users
]
select Users \
--filter true \
--scorer '_score = (tags._key != "")' \
--scorer '_score = (tags._key != "cat")' \
--output_columns _score

0 comments on commit ea43799

Please sign in to comment.