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

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


The following commit(s) were added to refs/heads/master by this push:
     new e66777bf [hotfix] Fix the partial update SQL example
e66777bf is described below

commit e66777bff12bddcb4fc4b9c9f6f72b0198e0123a
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

Reply via email to