@@ -1233,8 +1233,8 @@ case class Concat(children: Seq[Expression]) extends Expression {
12331233 |}
12341234 |if ( $numElements > ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }) {
12351235 | throw new RuntimeException("Unsuccessful try to concat arrays with " + $numElements +
1236- | " elements due to exceeding the array size limit " +
1237- | ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
1236+ | " elements due to exceeding the array size limit" +
1237+ | " ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
12381238 |}
12391239 """ .stripMargin
12401240
@@ -1409,8 +1409,8 @@ case class Flatten(child: Expression) extends UnaryExpression {
14091409 |}
14101410 |if ( $variableName > ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }) {
14111411 | throw new RuntimeException("Unsuccessful try to flatten an array of arrays with " +
1412- | $variableName + " elements due to exceeding the array size limit " +
1413- | ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
1412+ | $variableName + " elements due to exceeding the array size limit" +
1413+ | " ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
14141414 |}
14151415 """ .stripMargin
14161416 (code, variableName)
@@ -1564,8 +1564,8 @@ case class ArrayRepeat(left: Expression, right: Expression)
15641564 |}
15651565 |if ( $numElements > ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }) {
15661566 | throw new RuntimeException("Unsuccessful try to create array with " + $numElements +
1567- | " elements due to exceeding the array size limit " +
1568- | ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
1567+ | " elements due to exceeding the array size limit" +
1568+ | " ${ByteArrayMethods .MAX_ROUNDED_ARRAY_LENGTH }.");
15691569 |}
15701570 """ .stripMargin
15711571
0 commit comments