liutang123 opened a new issue #5355:
URL: https://github.com/apache/incubator-doris/issues/5355
**To Reproduce**
Steps to reproduce the behavior:
create view test_view as SELECT CASE substr(`a`, 4, 2)
WHEN '00' THEN 1
ELSE 2
END AS `ts`
FROM (
select 1 as a
) t
**Expected behavior**
`ERROR 1064 (HY000): errCode = 2, detailMessage = failed to init view stmt`
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]