DRILL-8470: Bump MongoDB Driver to Latest Version (#2862)
* Upgrade MongoDB driver 4.3.3 → 4.11.1
* Upgrade DeltaLake 2.1.0 → 3.0.0
* Upgrade Metadata-Extractor 2.18.0 → 2.19.0
diff --git a/contrib/format-deltalake/pom.xml b/contrib/format-deltalake/pom.xml
index d9b1fae..2372bbc 100644
--- a/contrib/format-deltalake/pom.xml
+++ b/contrib/format-deltalake/pom.xml
@@ -40,12 +40,12 @@
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-storage</artifactId>
- <version>2.1.0</version>
+ <version>3.0.0</version>
</dependency>
<dependency>
<groupId>io.delta</groupId>
<artifactId>delta-standalone_2.13</artifactId>
- <version>0.5.0</version>
+ <version>3.0.0</version>
</dependency>
<dependency>
<groupId>org.apache.parquet</groupId>
diff --git a/contrib/format-image/pom.xml b/contrib/format-image/pom.xml
index 7dde7e3..47aa725 100644
--- a/contrib/format-image/pom.xml
+++ b/contrib/format-image/pom.xml
@@ -39,7 +39,7 @@
<dependency>
<groupId>com.drewnoakes</groupId>
<artifactId>metadata-extractor</artifactId>
- <version>2.18.0</version>
+ <version>2.19.0</version>
</dependency>
<!-- Test dependencies -->
@@ -83,4 +83,4 @@
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/contrib/format-image/src/test/resources/image/jpeg.json b/contrib/format-image/src/test/resources/image/jpeg.json
index 6d590ef..f97b843 100644
--- a/contrib/format-image/src/test/resources/image/jpeg.json
+++ b/contrib/format-image/src/test/resources/image/jpeg.json
@@ -2,11 +2,11 @@
"Format" : "JPEG",
"PixelWidth" : "600",
"PixelHeight" : "400",
- "BitsPerPixel" : "24",
+ "Orientation" : "Top, left side (Horizontal / normal)",
"DPIWidth" : "300",
"DPIHeight" : "300",
- "Orientation" : "Top, left side (Horizontal / normal)",
"ColorMode" : "RGB",
+ "BitsPerPixel" : "24",
"HasAlpha" : "false",
"Duration" : "00:00:00",
"VideoCodec" : "Unknown",
@@ -87,7 +87,7 @@
"XResolution" : "72 dots per inch",
"YResolution" : "72 dots per inch",
"ResolutionUnit" : "Inch",
- "ThumbnailOffset" : "1038 bytes",
+ "ThumbnailOffset" : "1044 bytes",
"ThumbnailLength" : "3662 bytes"
},
"XMP" : {
@@ -214,4 +214,4 @@
"DetectedMIMEType" : "image/jpeg",
"ExpectedFileNameExtension" : "jpg"
}
-}
+}
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 371579f..83fb666 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,7 +130,7 @@
<aircompressor.version>0.25</aircompressor.version>
<iceberg.version>0.12.1</iceberg.version>
<univocity-parsers.version>2.8.3</univocity-parsers.version>
- <mongo.version>4.3.3</mongo.version>
+ <mongo.version>4.11.1</mongo.version>
<swagger.version>2.1.12</swagger.version>
<junit.args />
</properties>