nastra opened a new pull request, #14703:
URL: https://github.com/apache/iceberg/pull/14703

   This fixes the below warnings
   
   ```
   > Task :iceberg-spark:iceberg-spark-extensions-4.0_2.13:compileScala
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckViews.scala:44:61:
 method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is 
deprecated (since 2.13.0): implicit conversions from Array to 
immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly 
if you want to copy, or use the more efficient non-copying 
ArraySeq.unsafeWrapArray
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveViews.scala:67:63:
 method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is 
deprecated (since 2.13.0): implicit conversions from Array to 
immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly 
if you want to copy, or use the more efficient non-copying 
ArraySeq.unsafeWrapArray
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveViews.scala:105:38:
 method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is 
deprecated (since 2.13.0): implicit conversions from Array to 
immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly 
if you want to copy, or use the more efficient non-copying 
ArraySeq.unsafeWrapArray
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/analysis/RewriteViewCommands.scala:70:90:
 method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is 
deprecated (since 2.13.0): implicit conversions from Array to 
immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly 
if you want to copy, or use the more efficient non-copying 
ArraySeq.unsafeWrapArray
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/CreateV2ViewExec.scala:56:50:
 method + in trait MapOps is deprecated (since 2.13.0): Use ++ with an explicit 
collection argument instead of + with varargs
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/CreateV2ViewExec.scala:104:7:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/CreateV2ViewExec.scala:120:7:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DescribeV2ViewExec.scala:57:48:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DescribeV2ViewExec.scala:57:88:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DescribeV2ViewExec.scala:58:75:
 method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is 
deprecated (since 2.13.0): implicit conversions from Array to 
immutable.IndexedSeq are implemented by copying; use `toIndexedSeq` explicitly 
if you want to copy, or use the more efficient non-copying 
ArraySeq.unsafeWrapArray
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowCreateV2ViewExec.scala:60:26:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowCreateV2ViewExec.scala:60:66:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowV2ViewPropertiesExec.scala:49:10:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   [Warn] 
/Users/eduard.tudenhoefner/Development/workspace/iceberg/spark/v4.0/spark-extensions/src/main/scala/org/apache/spark/sql/execution/datasources/v2/ShowV2ViewPropertiesExec.scala:49:50:
 object JavaConverters in package collection is deprecated (since 2.13.0): Use 
`scala.jdk.CollectionConverters` instead
   14 warnings found
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to