Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexey Kupershtokh AlexeyKupershtokh

  • Novosibirsk, Russia
View GitHub Profile
View Реквизиты.md

Переводы можно делать по номеру +7952... Алексей Александрович К.

@AlexeyKupershtokh
AlexeyKupershtokh / dump.sql
Last active Oct 26, 2021
Postgres DDL to Clickhouse converter
View dump.sql
select
concat(
'create table ',
table_name,
'(',
string_agg(
concat(
column_name,
' ',
CASE when is_nullable = 'YES' THEN 'Nullable(' END,