clickhouse plugin - initial import

This commit is contained in:
SPRINX0\prochazka
2024-09-10 14:29:51 +02:00
parent d75f533b76
commit f2d29f97dc
17 changed files with 407 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
module.exports = `
select
columns.table as "pureName",
tables.uuid as "objectId",
columns.name as "columnName",
columns.type as "dataType",
columns.comment as "columnComment"
from system.columns
inner join system.tables on columns.table = tables.name and columns.database = tables.database
where columns.database='#DATABASE#' and tables.uuid =OBJECT_ID_CONDITION
order by toInt32(columns.position)
`;