Skip to content

Commit

Permalink
Fix multiIf in information_schema.tables (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
jovezhong authored Aug 11, 2024
1 parent 4091a02 commit 273900f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Storages/System/InformationSchema/tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ SELECT
database AS table_catalog,
database AS table_schema,
name AS table_name,
multiIf(is_temporary, 4, engine like '%View', 2, engine LIKE 'System%', 5, has_own_data = 0, 3, 1) AS table_type
multi_if(is_temporary, 4, engine like '%View', 2, engine LIKE 'System%', 5, has_own_data = 0, 3, 1) AS table_type
FROM system.tables

0 comments on commit 273900f

Please sign in to comment.