This is an automated email from the ASF dual-hosted git repository.
wenjin272 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new 0ec10b6b [docs]clarify Java toTable takes only Schema in
integrate_with_flink (#790)
0ec10b6b is described below
commit 0ec10b6b1ff12e916d76560ac61df6f7471f9e6f
Author: bosiew.tian <[email protected]>
AuthorDate: Mon Jun 8 14:05:07 2026 +0800
[docs]clarify Java toTable takes only Schema in integrate_with_flink (#790)
Co-authored-by: bosiew.tian <[email protected]>
---
docs/content/docs/development/integrate_with_flink.md | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/docs/content/docs/development/integrate_with_flink.md
b/docs/content/docs/development/integrate_with_flink.md
index fe13d291..d59894ad 100644
--- a/docs/content/docs/development/integrate_with_flink.md
+++ b/docs/content/docs/development/integrate_with_flink.md
@@ -172,7 +172,13 @@ Table outputTable =
{{< /tabs >}}
-User should provide `KeySelector` in `from_table()` to tell how to convert the
input `Table` to `KeyedStream` internally. And provide `Schema` and
`TypeInformation` in `to_table()` to tell the output `Table` schema.
+User should provide `KeySelector` in `from_table()` to tell how to convert the
input `Table` to `KeyedStream` internally.
+
+The arguments required by `to_table()` differ by language:
+
+- **Python**: provide both `Schema` and `TypeInformation` to define the output
`Table` schema.
+- **Java**: provide only `Schema` (`toTable(Schema)`); `TypeInformation` is
not required.
+
{{< hint info >}}
-Currently, user should provide both `Schema` and `TypeInformation` when call
`to_table()`, we will support only provide one of them in the future.
+In Python, `to_table()` currently requires both `Schema` and
`TypeInformation`; we plan to support providing only one of them in the future.
{{< /hint >}}
\ No newline at end of file