Jefffrey commented on issue #18668: URL: https://github.com/apache/datafusion/issues/18668#issuecomment-3527133715
That seems to be how it is defined: https://datafusion.apache.org/user-guide/sql/scalar_functions.html#map-extract > Returns a list containing the value for the given key or an empty list if the key is not present in the map. Seems consistent with DuckDB version: https://duckdb.org/docs/stable/sql/functions/map#element_atmap-key > Return the value for a given key as a list, or an empty list if the key is not contained in the map. The type of the key provided in the second parameter must match the type of the map's keys; else, an error is thrown. -- 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]
