You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by li...@apache.org on 2023/04/11 10:19:33 UTC

[incubator-seatunnel] branch dev updated: [DOC][FQA.md] Correct `transform sql` config (#4495)

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

liugddx pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new 3579e6de6 [DOC][FQA.md] Correct `transform sql` config (#4495)
3579e6de6 is described below

commit 3579e6de647f0cdda8193da32834c76799a30bff
Author: Kim <en...@qq.com>
AuthorDate: Tue Apr 11 18:19:20 2023 +0800

    [DOC][FQA.md] Correct `transform sql` config (#4495)
    
    * [DOC][FQA] Correct `transform sql` config
    
    * [DOC][release-note] update
    
    * [DOC][fqa.md] remove `table join` sql
---
 docs/en/faq.md  | 9 ++-------
 release-note.md | 1 +
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/docs/en/faq.md b/docs/en/faq.md
index b3f698e19..ec536e947 100644
--- a/docs/en/faq.md
+++ b/docs/en/faq.md
@@ -20,7 +20,7 @@ Configure the variable name in the configuration, here is an example of sql tran
 ...
 transform {
   sql {
-    sql = "select * from user_view where city ='"${city}"' and dt = '"${date}"'"
+    query = "select * from user_view where city ='"${city}"' and dt = '"${date}"'"
   }
 }
 ...
@@ -83,12 +83,7 @@ source {
 }
 
 transform {
-	sql {
-	 sql = """
-	 	select .... from hdfs_table 
-	 	join es_table 
-	 	on hdfs_table.uid = es_table.uid where ..."""
-	}
+    ...
 }
 
 sink {
diff --git a/release-note.md b/release-note.md
index d781e3fe6..65ae1abab 100644
--- a/release-note.md
+++ b/release-note.md
@@ -78,6 +78,7 @@
 
 ### Documents
 - [Doc] seatunnel run with flink operator error #3998
+- [Doc] Correct `transform sql` config on fqa.md #4493
 
 ## Test
 ### E2E