(tableName: string)
| 94 | * In non-clustered mode, returns the original table name |
| 95 | */ |
| 96 | export function getReplicatedTableName(tableName: string): string { |
| 97 | if (isClickhouseClustered()) { |
| 98 | return `${tableName}_replicated ON CLUSTER '{cluster}'`; |
| 99 | } |
| 100 | return tableName; |
| 101 | } |
| 102 | |
| 103 | function getClickhouseSettings(): ClickHouseSettings { |
| 104 | const additionalSettings = |
no test coverage detected