File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ class Snowflake extends Common
106106 self ::TYPE_GEOMETRY ,
107107 self ::TYPE_VECTOR ,
108108 ];
109- public const MAX_VARCHAR_LENGTH = 16777216 ;
109+ public const DEFAULT_VARCHAR_LENGTH = 16777216 ;
110+ public const MAX_VARCHAR_LENGTH = 134217728 ;
110111 public const MAX_VARBINARY_LENGTH = 8388608 ;
111112
112113 /**
Original file line number Diff line number Diff line change @@ -216,10 +216,10 @@ public function testValidCharacterLengths(): void
216216 new Snowflake ('STRING ' );
217217 new Snowflake ('STRING ' , ['length ' => '' ]);
218218 new Snowflake ('STRING ' , ['length ' => '1 ' ]);
219- new Snowflake ('STRING ' , ['length ' => '16777216 ' ]);
219+ new Snowflake ('STRING ' , ['length ' => '134217728 ' ]);
220220 new Snowflake ('STRING ' , [
221221 'length ' => [
222- 'character_maximum ' => '16777216 ' ,
222+ 'character_maximum ' => '134217728 ' ,
223223 ],
224224 ]);
225225 new Snowflake ('STRING ' , [
@@ -444,7 +444,7 @@ public function invalidCharacterLengths(): array
444444 return [
445445 ['a ' ],
446446 ['0 ' ],
447- ['16777217 ' ],
447+ ['134217729 ' ],
448448 ['-1 ' ],
449449 ];
450450 }
You can’t perform that action at this time.
0 commit comments