xy720 opened a new pull request #2641: CreateViewStmt/AlterViewStmt support cte 
and fix bug
URL: https://github.com/apache/incubator-doris/pull/2641
 
 
   This commit contains the following changes:
   1. Let create/alter view statement support cte sql. (Issue #2625 )
   e.g.
   ```
   Alter view test_tbl_view (h1, h2)
   as
   with testTbl_cte (w1, w2) as 
   (
       select col1, col2 from testDb.testTbl
   )
   select w1 as c1, sum(w2) as c2 from testTbl_cte 
   where w1 > 10 
   group by w1 order by w1
   ```
   
   2. Fix the bug that view's schema remains unchanged while replaying alter 
view. (Issue #2624 )

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to