Skip to content

Commit ee9d869

Browse files
committed
updated Java driver
1 parent d681b62 commit ee9d869

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

arangodb-spark-commons/src/main/scala/org/apache/spark/sql/arangodb/commons/ArangoClient.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ class ArangoClient(options: ArangoDBConf) extends Logging {
176176
val response = arangoDB.execute(request, classOf[RawBytes])
177177

178178
import scala.collection.JavaConverters.asScalaIteratorConverter
179-
val errors = serde.parse(response.getBody.get).iterator().asScala
180-
.zip(serde.parse(data.get).iterator().asScala)
179+
val errors = serde.parse(response.getBody.get, "/").iterator().asScala
180+
.zip(serde.parse(data.get, "/").iterator().asScala)
181181
.filter(_._1.has("error"))
182182
.filter(_._1.get("error").booleanValue())
183183
.map(it => (

pom.xml

+13-1
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,18 @@
155155
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
156156
</repository>
157157
</distributionManagement>
158+
<repositories>
159+
<repository>
160+
<id>arangodb-snapshots</id>
161+
<url>https://oss.sonatype.org/content/groups/staging</url>
162+
<snapshots>
163+
<enabled>true</enabled>
164+
</snapshots>
165+
<releases>
166+
<enabled>false</enabled>
167+
</releases>
168+
</repository>
169+
</repositories>
158170
<build>
159171
<plugins>
160172
<plugin>
@@ -180,7 +192,7 @@
180192
<dependency>
181193
<groupId>com.arangodb</groupId>
182194
<artifactId>arangodb-java-driver-shaded</artifactId>
183-
<version>7.9.0</version>
195+
<version>7.15.0-SNAPSHOT</version>
184196
<scope>compile</scope>
185197
</dependency>
186198
<dependency>

0 commit comments

Comments
 (0)