diff --git a/pom.xml b/pom.xml
index 43b5e3fec3..ef97610dff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -209,31 +209,31 @@
org.apache.spark
- spark-core_2.12
+ spark-core_2.13
3.5.1
provided
org.apache.spark
- spark-sql_2.12
+ spark-sql_2.13
3.5.1
provided
org.apache.spark
- spark-mllib_2.12
+ spark-mllib_2.13
3.5.1
provided
org.apache.hadoop
- hadoop-aws
+ hadoop-aws
3.3.6
provided
org.apache.spark
- spark-avro_2.12
+ spark-avro_2.13
3.5.1
@@ -277,37 +277,37 @@
commons-io
2.11.0
-
- org.apache.httpcomponents
- httpclient
- 4.5.13
-
-
-
- org.jgrapht
- jgrapht-core
- 1.4.0
-
-
- joda-time
- joda-time
- 2.10.6
-
-
- com.fasterxml.jackson.dataformat
- jackson-dataformat-yaml
- 2.15.2
-
-
- io.delta
- delta-spark_2.12
- 3.2.1
-
-
+
+ org.apache.httpcomponents
+ httpclient
+ 4.5.13
+
+
+
+ org.jgrapht
+ jgrapht-core
+ 1.4.0
+
+
+ joda-time
+ joda-time
+ 2.10.6
+
+
+ com.fasterxml.jackson.dataformat
+ jackson-dataformat-yaml
+ 2.15.2
+
+
+ io.delta
+ delta-spark_2.13
+ 3.2.1
+
+
diff --git a/src/main/java/org/rumbledb/items/parsing/ItemParser.java b/src/main/java/org/rumbledb/items/parsing/ItemParser.java
index 434e9a43b4..be4b8fd93f 100644
--- a/src/main/java/org/rumbledb/items/parsing/ItemParser.java
+++ b/src/main/java/org/rumbledb/items/parsing/ItemParser.java
@@ -46,7 +46,9 @@
import org.rumbledb.types.BuiltinTypesCatalogue;
import org.rumbledb.types.FieldDescriptor;
import org.rumbledb.types.ItemType;
-import scala.collection.mutable.WrappedArray;
+import scala.collection.immutable.ArraySeq;
+import scala.collection.Iterator;
+
import sparksoniq.spark.SparkSessionManager;
import java.io.IOException;
@@ -589,9 +591,15 @@ private static Item convertValueToItem(
}
} else {
@SuppressWarnings("unchecked")
- Object arrayObject = ((WrappedArray