JingsongLi commented on code in PR #6103:
URL: https://github.com/apache/paimon/pull/6103#discussion_r2293020831
##########
paimon-core/src/main/java/org/apache/paimon/io/DataFilePathFactory.java:
##########
@@ -89,7 +90,13 @@ public Path newPath(String prefix) {
private String newFileName(String prefix) {
String extension;
if (fileSuffixIncludeCompression) {
- extension = "." + fileCompression + "." + formatIdentifier;
+ String compressionExtension =
+ CompressionType.fromValue(fileCompression).fileExtension();
+ if (isTextFormat(formatIdentifier)) {
Review Comment:
is Text, must add `compressionExtension`.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]