@@ -159,7 +159,7 @@ class CometStringExpressionSuite extends CometTestBase {
159159
160160 test(" split string with limit" ) {
161161 // Split tests with 3 arguments (with limit)
162- withParquetTable((0 until 5 ).map(i => (s " a,b,c,d,e " , i)), " tbl" ) {
162+ withParquetTable((0 until 5 ).map(i => (" a,b,c,d,e" , i)), " tbl" ) {
163163 checkSparkAnswerAndOperator(" SELECT split(_1, ',', 2) FROM tbl" )
164164 checkSparkAnswerAndOperator(" SELECT split(_1, ',', 3) FROM tbl" )
165165 checkSparkAnswerAndOperator(" SELECT split(_1, ',', -1) FROM tbl" )
@@ -169,12 +169,12 @@ class CometStringExpressionSuite extends CometTestBase {
169169
170170 test(" split string with regex patterns" ) {
171171 // Test with various regex patterns
172- withParquetTable((0 until 5 ).map(i => (s " word1 word2 word3 " , i)), " tbl" ) {
172+ withParquetTable((0 until 5 ).map(i => (" word1 word2 word3" , i)), " tbl" ) {
173173 checkSparkAnswerAndOperator(" SELECT split(_1, ' ') FROM tbl" )
174174 checkSparkAnswerAndOperator(" SELECT split(_1, '\\\\ s+') FROM tbl" )
175175 }
176176
177- withParquetTable((0 until 5 ).map(i => (s " foo123bar456baz " , i)), " tbl2" ) {
177+ withParquetTable((0 until 5 ).map(i => (" foo123bar456baz" , i)), " tbl2" ) {
178178 checkSparkAnswerAndOperator(" SELECT split(_1, '\\\\ d+') FROM tbl2" )
179179 }
180180 }
0 commit comments