Skip to content
Closed
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
10 changes: 9 additions & 1 deletion housewatch/clickhouse/queries/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,15 @@
"""

AVAILABLE_TABLES_SQL = """
SELECT database, table
SELECT
database,
table,
table as name,
total_bytes,
formatReadableSize(total_bytes) as readable_bytes,
total_rows,
engine,
partition_key
FROM system.tables
WHERE database NOT ILIKE 'information_schema'
"""
Expand Down