Altman-yao opened a new issue, #38248:
URL: https://github.com/apache/doris/issues/38248

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   
spark中支持STRUCT类型,并且可以通过函数from_json来将字符串转为STRUCT,以及可以使用to_json将STRUCT转为字符串,用起来非常的方便,但是doris里面没有这种功能而且额外增加了JSON类型,json里面的函数又只能对json或varchar类型使用,不能给STRUCT类型使用。一旦有一个字段是STRUCT类型,我居然没法对他使用任何函数,我觉得这是很难受的事情。尤其我需要使用COLLECT_LIST(<STRUCT>)的时候,会报错不支持。我不理解为什么会不支持,
   
   ### Use case
   
   设备应用列表,需要转成 设备id , 
array<struct<name:string,pkg:string,intall_time:string>>类型,但是我没法构造出这种数据类型。因为不支持使用collect_list<struct>方式。
   
   ### Related issues
   
   无
   
   ### 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