You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2020/06/12 11:09:39 UTC

[flink] branch release-1.11 updated: [FLINK-18253][doc][avro] Add filesystem option documentation for Avro

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

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


The following commit(s) were added to refs/heads/release-1.11 by this push:
     new b204eab  [FLINK-18253][doc][avro] Add filesystem option documentation for Avro
b204eab is described below

commit b204eab2e7b481251ca5b37441ff7bd527ffa5cf
Author: Jingsong Lee <ji...@gmail.com>
AuthorDate: Fri Jun 12 19:07:13 2020 +0800

    [FLINK-18253][doc][avro] Add filesystem option documentation for Avro
    
    
    This closes #12599
---
 docs/dev/table/connectors/formats/avro.md    | 11 +++++++----
 docs/dev/table/connectors/formats/avro.zh.md | 11 +++++++----
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/docs/dev/table/connectors/formats/avro.md b/docs/dev/table/connectors/formats/avro.md
index c03d98d..a68a6f1 100644
--- a/docs/dev/table/connectors/formats/avro.md
+++ b/docs/dev/table/connectors/formats/avro.md
@@ -97,6 +97,13 @@ Format Options
       <td>String</td>
       <td>Specify what format to use, here should be <code>'avro'</code>.</td>
     </tr>
+    <tr>
+      <td><h5>avro.codec</h5></td>
+      <td>optional</td>
+      <td style="word-wrap: break-word;">(none)</td>
+      <td>String</td>
+      <td>For <a href="{% link dev/table/connectors/filesystem.md %}">Filesystem</a> only, the compression codec for avro. No compression as default. The valid enumerations are: deflate, snappy, bzip2, xz.</td>
+    </tr>
     </tbody>
 </table>
 
@@ -208,7 +215,3 @@ So the following table lists the type mapping from Flink type to Avro type.
 In addition to the types listed above, Flink supports reading/writing nullable types. Flink maps nullable types to Avro `union(something, null)`, where `something` is the Avro type converted from Flink type.
 
 You can refer to [Avro Specification](https://avro.apache.org/docs/current/spec.html) for more information about Avro types.
-
-
-
-
diff --git a/docs/dev/table/connectors/formats/avro.zh.md b/docs/dev/table/connectors/formats/avro.zh.md
index d2f9cb2..a3ed0ba 100644
--- a/docs/dev/table/connectors/formats/avro.zh.md
+++ b/docs/dev/table/connectors/formats/avro.zh.md
@@ -97,6 +97,13 @@ Format Options
       <td>String</td>
       <td>Specify what format to use, here should be <code>'avro'</code>.</td>
     </tr>
+    <tr>
+      <td><h5>avro.codec</h5></td>
+      <td>optional</td>
+      <td style="word-wrap: break-word;">(none)</td>
+      <td>String</td>
+      <td>For <a href="{% link dev/table/connectors/filesystem.zh.md %}">Filesystem</a> only, the compression codec for avro. No compression as default. The valid enumerations are: deflate, snappy, bzip2, xz.</td>
+    </tr>
     </tbody>
 </table>
 
@@ -208,7 +215,3 @@ So the following table lists the type mapping from Flink type to Avro type.
 In addition to the types listed above, Flink supports reading/writing nullable types. Flink maps nullable types to Avro `union(something, null)`, where `something` is the Avro type converted from Flink type.
 
 You can refer to [Avro Specification](https://avro.apache.org/docs/current/spec.html) for more information about Avro types.
-
-
-
-