Skip to content

Commit eb095cf

Browse files
Update src/Query/Schema/ClickHouse.php
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent 1e1f0d7 commit eb095cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Query/Schema/ClickHouse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function compileColumnType(Column $column): string
7878
$type = 'Tuple(' . $inner . ')';
7979

8080
if ($column->isNullable) {
81-
$type = 'Nullable(' . $type . ')';
81+
throw new UnsupportedException('Nullable(Tuple(...)) is an experimental ClickHouse feature and requires allow_experimental_nullable_tuple_type = 1. Use Tuple(Nullable(T1), Nullable(T2), ...) instead.');
8282
}
8383

8484
return $type;

0 commit comments

Comments
 (0)