From 53559bc31543b40c64992a21e207293a47fe3852 Mon Sep 17 00:00:00 2001 From: hayden Date: Mon, 28 Aug 2023 12:49:09 +0800 Subject: [PATCH] test: add test case about ROW as function --- .../flinksql/syntax/fixtures/insertFromSelectQueries.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/parser/flinksql/syntax/fixtures/insertFromSelectQueries.sql b/test/parser/flinksql/syntax/fixtures/insertFromSelectQueries.sql index 70c20d6..360a7db 100644 --- a/test/parser/flinksql/syntax/fixtures/insertFromSelectQueries.sql +++ b/test/parser/flinksql/syntax/fixtures/insertFromSelectQueries.sql @@ -42,6 +42,13 @@ SELECT `user`, country FROM page_view_source; +--- Insert with function +INSERT INTO hbase_table +SELECT + st.id as rowKey, + ROW(id, name, age) as baseInfo +FROM sourceTable st; +