This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch release-0.2
in repository https://gitbox.apache.org/repos/asf/flink-table-store.git
The following commit(s) were added to refs/heads/release-0.2 by this push:
new 497b7991 [hotfix] Fix the partial update SQL example
497b7991 is described below
commit 497b799159945121e16ee95c40f2a54bab2b3643
Author: Jane Chan <[email protected]>
AuthorDate: Thu Aug 25 16:09:44 2022 +0800
[hotfix] Fix the partial update SQL example
This closes #275
---
docs/content/docs/development/create-table.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/content/docs/development/create-table.md
b/docs/content/docs/development/create-table.md
index 2849b8d0..4a43fa7d 100644
--- a/docs/content/docs/development/create-table.md
+++ b/docs/content/docs/development/create-table.md
@@ -253,8 +253,8 @@ CREATE TABLE MyTable (
);
INSERT INTO MyTable
-SELECT product_id, price, number, NULL FROM Src1 UNION ALL
-SELECT product_id, NULL, NULL, detail FROM Src2;
+SELECT product_id, price, number, CAST(NULL AS STRING) FROM Src1 UNION ALL
+SELECT product_id, CAST(NULL AS DOUBLE), CAST(NULL AS BIGINT), detail FROM
Src2;
```
The value fields are updated to the latest data one by one