caiconghui opened a new issue #5483:
URL: https://github.com/apache/incubator-doris/issues/5483
**Describe the bug**
Create view will fail when StringLiteral in SelectStmt contains single
quotes
**To Reproduce**
Steps to reproduce the behavior:
1. create view test as select split_part(current_user(), "'", 2) as k1;
2. ERROR 1064 (HY000): errCode = 2, detailMessage = failed to init view stmt
**Expected behavior**
Succeed in creating view
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
----------------------------------------------------------------
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]