Skip to content

Commit

Permalink
[doc] Deprecated Flink external table
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Nov 14, 2023
1 parent bb2f7d8 commit 30525c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/content/how-to/creating-tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,11 @@ Paimon external tables can be used in any catalog. If you do not want to create

{{< tabs "external-table-example" >}}

{{< tab "Flink" >}}
{{< tab "Flink (Deprecated)" >}}

{{< hint info >}}
Please **DO NOT** use this mode. We recommend using the Paimon Catalog way. The current reservation is only for compatibility.
{{< /hint >}}

Flink SQL supports reading and writing an external table. External Paimon tables are created by specifying the `connector` and `path` table properties. The following SQL creates an external table named `MyTable` with five columns, where the base path of table files is `hdfs:///path/to/table`.

Expand All @@ -602,6 +606,8 @@ CREATE TABLE MyTable (
);
```

(Flink SQL must declare all fields, which is difficult to use. And if the table already exists, type nullable should be checked.)

{{< /tab >}}

{{< tab "Spark3" >}}
Expand Down

0 comments on commit 30525c1

Please sign in to comment.