Skip to content

Commit

Permalink
fix quote nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
brilee committed Mar 11, 2024
1 parent e0ec799 commit 77be8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lilac/data/dataset_duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ def stats(self, leaf_path: Path, include_deleted: bool = False) -> StatsResult:
sample_where_clause = ''
else:
sample_where_clause = (
f'WHERE val != 0 {'AND NOT isnan(val)' if is_float(leaf.dtype) else ''}'
f"WHERE val != 0 {'AND NOT isnan(val)' if is_float(leaf.dtype) else ''}"
)
sample_query = f"""
SELECT COALESCE(ARRAY_AGG(val), [])
Expand Down

0 comments on commit 77be8f4

Please sign in to comment.