friendlymatthew opened a new issue, #18913:
URL: https://github.com/apache/datafusion/issues/18913

   ### Describe the bug
   
   [The 
documentation](https://datafusion.apache.org/user-guide/sql/scalar_functions.html#map)
 shows the `map` function supports a simple key-value syntax like `map(key, 
value)`, but this syntax currently errors!
   
   ```sql
   DataFusion CLI v51.0.0
   > SELECT MAP('type', 'test');
   Execution error: Expected list, large_list or fixed_size_list, got Utf8
   ```
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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