You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "kaixuanzhang123 (via GitHub)" <gi...@apache.org> on 2025/05/09 07:38:17 UTC
[PR] [Bug] when object table metadata not null refresh table throw error [paimon]
kaixuanzhang123 opened a new pull request, #5585:
URL: https://github.com/apache/paimon/pull/5585
<!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
### Purpose
bug fix : object table metadata not null throw error
<!-- Linking this pull request to the issue -->
Linked issue: close #5584
https://github.com/apache/paimon/issues/5584
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Bug] when object table metadata not null refresh table throw error [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #5585:
URL: https://github.com/apache/paimon/pull/5585
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Bug] when object table metadata not null refresh table throw error [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #5585:
URL: https://github.com/apache/paimon/pull/5585#issuecomment-2870522121
+1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Bug] when object table metadata not null refresh table throw error [paimon]
Posted by "yuzelin (via GitHub)" <gi...@apache.org>.
yuzelin commented on code in PR #5585:
URL: https://github.com/apache/paimon/pull/5585#discussion_r2081332535
##########
paimon-core/src/main/java/org/apache/paimon/table/object/ObjectRefresh.java:
##########
@@ -75,7 +78,23 @@ private static InternalRow toRow(FileStatus file) {
Optional.ofNullable(file.getMetadataModificationTime())
.map(Timestamp::fromEpochMillis)
.orElse(null),
- Optional.ofNullable(file.getMetadata()).map(GenericMap::new).orElse(null));
+ metadata);
+ }
+
+ /** 将普通 Map<String, String> 类型的 metadata 转换为 Paimon 内部支持的 GenericMap 结构。 */
Review Comment:
Please use english for comment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [Bug] when object table metadata not null refresh table throw error [paimon]
Posted by "yuzelin (via GitHub)" <gi...@apache.org>.
yuzelin commented on PR #5585:
URL: https://github.com/apache/paimon/pull/5585#issuecomment-2865895700
Try to run `mvn spotless::apply` to fix checkstyle error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org