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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to