Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pydruid/utils/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def __init__(
ordering="lexicographic",
extraction_function=None,
):
if not lower and not upper:
if lower is None and upper is None:
raise ValueError("Must include either lower or upper or both")
Filter.__init__(
self,
Expand Down