kangkaisen opened a new pull request #253: Doris view support parenthesis
URL: https://github.com/apache/incubator-doris/pull/253
 
 
   ### How to Reproduce
   1 Create a view
   ```
   create view test_view (id) as select (1 + 2) % 3 as id;
   ```
   2 query the view
   ```
   select * from test_view;
   ```
   the result is 
   ```
   
   id
   --
   3
   ```
   The right result for this sql should be 0, not 3.
   
   the result for `show create view`:
   ```
   CREATE VIEW `test_view` AS SELECT 1 + 2 % 3 AS `id`;
   ```
   we found the parenthesis in view has lost.
   
   ### How to solve
   
   Refer to IMPALA-495 and IMPALA-4325

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to