This is an automated email from the ASF dual-hosted git repository.
arvid pushed a commit to branch release-1.12
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.12 by this push:
new 85c39b4 [FLINK-25091][docs] Change ORC compression attribute
reference error in FileSink doc
85c39b4 is described below
commit 85c39b4a686eb4dd5c115f102c6bdd0953822245
Author: martijnvisser <[email protected]>
AuthorDate: Wed Dec 8 09:19:31 2021 +0100
[FLINK-25091][docs] Change ORC compression attribute reference error in
FileSink doc
---
docs/dev/connectors/file_sink.md | 4 ++--
docs/dev/connectors/file_sink.zh.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/dev/connectors/file_sink.md b/docs/dev/connectors/file_sink.md
index 15da410..4e65a65 100644
--- a/docs/dev/connectors/file_sink.md
+++ b/docs/dev/connectors/file_sink.md
@@ -485,7 +485,7 @@ String schema = ...;
Configuration conf = ...;
Properties writerProperties = new Properties();
-writerProps.setProperty("orc.compress", "LZ4");
+writerProperties.setProperty("orc.compress", "LZ4");
// Other ORC supported properties can also be set similarly.
final OrcBulkWriterFactory<Person> writerFactory = new OrcBulkWriterFactory<>(
@@ -499,7 +499,7 @@ val schema: String = ...
val conf: Configuration = ...
val writerProperties: Properties = new Properties()
-writerProps.setProperty("orc.compress", "LZ4")
+writerProperties.setProperty("orc.compress", "LZ4")
// Other ORC supported properties can also be set similarly.
val writerFactory = new OrcBulkWriterFactory(
diff --git a/docs/dev/connectors/file_sink.zh.md
b/docs/dev/connectors/file_sink.zh.md
index 999f9f6..5d7858d 100644
--- a/docs/dev/connectors/file_sink.zh.md
+++ b/docs/dev/connectors/file_sink.zh.md
@@ -458,7 +458,7 @@ String schema = ...;
Configuration conf = ...;
Properties writerProperties = new Properties();
-writerProps.setProperty("orc.compress", "LZ4");
+writerProperties.setProperty("orc.compress", "LZ4");
// 其它 ORC 支持的属性也可以类似设置。
final OrcBulkWriterFactory<Person> writerFactory = new OrcBulkWriterFactory<>(
@@ -472,7 +472,7 @@ val schema: String = ...
val conf: Configuration = ...
val writerProperties: Properties = new Properties()
-writerProps.setProperty("orc.compress", "LZ4")
+writerProperties.setProperty("orc.compress", "LZ4")
// 其它 ORC 支持的属性也可以类似设置。
val writerFactory = new OrcBulkWriterFactory(