Skip to content

Commit

Permalink
[AMORO-2546] Upgrade paimon dependency to 0.7.0 (#2548)
Browse files Browse the repository at this point in the history
* Upgrade paimon dependency to 0.7.0

* Upgrade hive2 version to 2.3.9

---------

Co-authored-by: huyuanfeng <huyuanfeng@huya.com>
Co-authored-by: ZhouJinsong <zhoujinsong0505@163.com>
  • Loading branch information
3 people authored Feb 20, 2024
1 parent 4b2b4b1 commit c2bdb64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,16 @@ private static Map<String, String> extractSummary(Map<String, String> summary, S
@Override
public List<TagOrBranchInfo> getTableTags(AmoroTable<?> amoroTable) {
FileStoreTable table = getTable(amoroTable);
SortedMap<Snapshot, String> tags = table.tagManager().tags();
return tags.entrySet().stream()
.map(
e -> new TagOrBranchInfo(e.getValue(), e.getKey().id(), 0, 0L, 0L, TagOrBranchInfo.TAG))
.collect(Collectors.toList());
SortedMap<Snapshot, List<String>> tags = table.tagManager().tags();
List<TagOrBranchInfo> tagOrBranchInfos = new ArrayList<>();
tags.forEach(
(snapshot, tagList) -> {
for (String tagName : tagList) {
tagOrBranchInfos.add(
new TagOrBranchInfo(tagName, snapshot.id(), 0, 0L, 0L, TagOrBranchInfo.TAG));
}
});
return tagOrBranchInfos;
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<maven-apache-rat-plugin.version>0.15</maven-apache-rat-plugin.version>

<iceberg.version>1.4.3</iceberg.version>
<paimon.version>0.5.0-incubating</paimon.version>
<paimon.version>0.7.0-incubating</paimon.version>
<hive.version>3.1.1</hive.version>
<hadoop.version>3.2.4</hadoop.version>
<kerby.version>2.0.3</kerby.version>
Expand Down Expand Up @@ -1003,7 +1003,7 @@
</activation>
<properties>
<guava.version>14.0.1</guava.version>
<hive.version>2.1.1</hive.version>
<hive.version>2.3.9</hive.version>
<hadoop.version>2.10.2</hadoop.version>
<terminal.spark.version>3.2.2</terminal.spark.version>
<terminal.spark.major.version>3.2</terminal.spark.major.version>
Expand Down

0 comments on commit c2bdb64

Please sign in to comment.