You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the description of these functions do not mention that, and the given examples suggesting they return the value directly, not an array containing the value.
I too stumbled upon this just now! It appears that the Map functions docs page states that the stable version of duckdb 1.1.3 (listed on top right of the docs page) will return a value whereas the cli returns the array with one element. It appears to me that the doc is out of sync with the stable version.
The map retrieval functions:
return an array.
This is described in https://duckdb.org/docs/sql/data_types/map#retrieving-from-maps.
But the description of these functions do not mention that, and the given examples suggesting they return the value directly, not an array containing the value.
Page URL: https://duckdb.org/docs/sql/functions/map.html
The text was updated successfully, but these errors were encountered: