zjj opened a new issue, #64720:
URL: https://github.com/apache/doris/issues/64720

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   version: apache-doris-4.1.2-bin-x64
   doc: 
https://doris.apache.org/zh-CN/docs/4.x/sql-manual/sql-functions/table-functions/explode-split
   
   
   
   MySQL [demo]>     create table example(
       ->         k1 int
       ->     ) properties(
       ->         "replication_num" = "1"
       ->     );
   Query OK, 0 rows affected (0.01 sec)
   
   MySQL [demo]>
   MySQL [demo]>     insert into example values(1);
   Query OK, 1 row affected (0.36 sec)
   {'label':'label_70557f2afaab4730_b4e0ee72fde66dc4', 'status':'VISIBLE', 
'txnId':'4'}
   
   MySQL [demo]> select  * from example lateral view explode_split("", ",") t2 
as c;
   Empty set (0.04 sec)
   
   
   ### What's Wrong?
   
   the following query shall return one line.
   
   MySQL [demo]> select  * from example lateral view explode_split("", ",") t2 
as c;
   Empty set (0.04 sec)
   
   ### What You Expected?
   
   as the docs,
   
   select  * from example lateral view explode_split("abc", ",") t2 as c;
   
   +------+------+
   | k1   | c    |
   +------+------+
   |    1 | abc  |
   +------+------+l
   
   
   
   3.x works ok
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to