Skip to content

Commit

Permalink
Upgrade docker-images to version 87
Browse files Browse the repository at this point in the history
This upgrades Delta Lake version to 3.0.0.
  • Loading branch information
ebyhr committed Oct 19, 2023
1 parent 5d30e40 commit b29dd1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<dep.antlr.version>4.13.1</dep.antlr.version>
<dep.asm.version>9.6</dep.asm.version>

<dep.docker.images.version>86</dep.docker.images.version>
<dep.docker.images.version>87</dep.docker.images.version>

<!--
America/Bahia_Banderas has:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,14 +226,7 @@ public void testDeletionVectors(String mode)
" TBLPROPERTIES ('delta.enableDeletionVectors' = true, 'delta.columnMapping.mode' = '" + mode + "')");
try {
onDelta().executeQuery("INSERT INTO default." + tableName + " VALUES (1,11), (2, 22)");
if (databricksRuntimeVersion.isEmpty() && (mode.equals("name") || mode.equals("id"))) {
assertQueryFailure(() -> onDelta().executeQuery("DELETE FROM default." + tableName + " WHERE a = 2"))
.hasMessageContaining("Can't resolve column __delta_internal_row_index in root");
throw new SkipException("OSS Delta Lake doesn't support deletion vectors with column mapping mode 'name' and 'id'");
}
else {
onDelta().executeQuery("DELETE FROM default." + tableName + " WHERE a = 2");
}
onDelta().executeQuery("DELETE FROM default." + tableName + " WHERE a = 2");

assertThat(onDelta().executeQuery("SELECT * FROM default." + tableName))
.containsOnly(row(1, 11));
Expand Down

0 comments on commit b29dd1c

Please sign in to comment.