You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "JingsongLi (via GitHub)" <gi...@apache.org> on 2023/08/08 10:00:27 UTC
[GitHub] [incubator-paimon] JingsongLi commented on a diff in pull request #1762: [core] The config of changelog format and file format are separated
JingsongLi commented on code in PR #1762:
URL: https://github.com/apache/incubator-paimon/pull/1762#discussion_r1286895850
##########
paimon-common/src/main/java/org/apache/paimon/CoreOptions.java:
##########
@@ -139,6 +138,40 @@ public class CoreOptions implements Serializable {
"Default file compression format, can be overridden by "
+ FILE_COMPRESSION_PER_LEVEL.key());
+ public static final ConfigOption<FileFormatType> CHANGELOG_FORMAT =
+ key("changelog.format")
+ .enumType(FileFormatType.class)
+ .defaultValue(FileFormatType.ORC)
+ .withDescription(
+ "Specify the message format of changelog files, currently orc, parquet and avro are supported.");
+
+ public static final ConfigOption<String> CHANGELOG_COMPRESSION =
+ key("changelog.compression")
+ .stringType()
+ .noDefaultValue()
+ .withDescription("Default changelog compression format.");
+
+ public static final ConfigOption<Map<String, String>> CHANGELOG_COMPRESSION_PER_LEVEL =
Review Comment:
I don't want to introduce per level for changelog.
Can we just introduce unified format and compression?
--
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