Skip to content

Commit 528c5ac

Browse files
committed
CT-1526 - SqlBuilder - add vector datatype support and fix array support
1 parent ebfcc6d commit 528c5ac

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Definition/Snowflake.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,7 @@ private function validateLength(string $type, $length = null): void
363363
* any white space zero or infinite times
364364
* any digit with 0 to 4 places
365365
*/
366-
if (preg_match('/^(?<TYPE>INT|FLOAT),[^\S\r\n]*(?<DIM>[\d]{1,4})$/i', $length, $matches))
367-
{
366+
if (preg_match('/^(?<TYPE>INT|FLOAT),[^\S\r\n]*(?<DIM>[\d]{1,4})$/i', $length, $matches)) {
368367
$dimension = (int) $matches['DIM'];
369368
if ($dimension > 0 && $dimension <= 4096) {
370369
$valid = true;

0 commit comments

Comments
 (0)