Skip to content

Commit 0bcb9a4

Browse files
authored
Merge pull request #3423 from ClickHouse/down_no_up
small nit
2 parents 6cd1d50 + f56a034 commit 0bcb9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dictionary/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ SELECT Id, Title,
174174
dictGet('votes_dict', 'DownVotes', Id) AS DownVotes,
175175
abs(UpVotes - DownVotes) AS Controversial_ratio
176176
FROM posts
177-
WHERE (Id IN (PostIds)) AND (UpVotes > 10) AND (UpVotes > 10)
177+
WHERE (Id IN (PostIds)) AND (UpVotes > 10) AND (DownVotes > 10)
178178
ORDER BY Controversial_ratio ASC
179179
LIMIT 3
180180

0 commit comments

Comments
 (0)