This is an automated email from the ASF dual-hosted git repository.

arvid pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new 21071cf  [FLINK-25091][docs] Change ORC compression attribute 
reference error in FileSink doc
21071cf is described below

commit 21071cf983891800a38a7138cfa6ff28bbe12bab
Author: martijnvisser <[email protected]>
AuthorDate: Wed Dec 8 09:29:42 2021 +0100

    [FLINK-25091][docs] Change ORC compression attribute reference error in 
FileSink doc
---
 docs/content.zh/docs/connectors/datastream/file_sink.md | 4 ++--
 docs/content/docs/connectors/datastream/file_sink.md    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/content.zh/docs/connectors/datastream/file_sink.md 
b/docs/content.zh/docs/connectors/datastream/file_sink.md
index 329c7cf..1e454ba 100644
--- a/docs/content.zh/docs/connectors/datastream/file_sink.md
+++ b/docs/content.zh/docs/connectors/datastream/file_sink.md
@@ -442,7 +442,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<>(
@@ -456,7 +456,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(
diff --git a/docs/content/docs/connectors/datastream/file_sink.md 
b/docs/content/docs/connectors/datastream/file_sink.md
index 0de512a..4930ba8 100644
--- a/docs/content/docs/connectors/datastream/file_sink.md
+++ b/docs/content/docs/connectors/datastream/file_sink.md
@@ -471,7 +471,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<>(
@@ -485,7 +485,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(

Reply via email to