Lordworms commented on issue #10200:
URL: https://github.com/apache/datafusion/issues/10200#issuecomment-2073982222

   > ```shell
   > select array_concat(make_array());
   > ```
   
   Hi @jayzhan211 I was going to implement the same behavior like DuckDB
   <img width="807" alt="image" 
src="https://github.com/apache/datafusion/assets/48054792/13d55812-e797-4199-8a94-fea01effafdb";>
   I could directly check the returnType here do match the behavior of DuckDB
   <img width="881" alt="image" 
src="https://github.com/apache/datafusion/assets/48054792/6fc09205-ba3e-4961-8504-888aa65893e4";>
   
   and make datafusion support query like
   <img width="482" alt="image" 
src="https://github.com/apache/datafusion/assets/48054792/ef59ce43-7d1e-46f0-846b-286bbd94baec";>
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to