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
- Add map_extract, map_keys, map_values, cardinality, element_at, map_concat,
map_contains, map_contains_entry, map_contains_value, map_entries,
map_extract_value, and map_from_entries functions
- Create migration file pg_duckdb--1.0.0--1.1.0.sql with function definitions
- Update metadata cache to recognize all MAP functions as DuckDB-only
- Add comprehensive tests covering all functions with edge cases
- Update documentation with detailed usage examples and function descriptions
- Bump version to 1.1.0 in pg_duckdb.control
- Add regression tests to schedule
Closes#774
Copy file name to clipboardExpand all lines: docs/functions.md
+135Lines changed: 135 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,25 @@ Note: `ALTER EXTENSION pg_duckdb WITH SCHEMA schema` is not currently supported.
20
20
21
21
All of the DuckDB [json functions and aggregates](https://duckdb.org/docs/data/json/json_functions.html). Postgres JSON/JSONB functions are not supported.
22
22
23
+
## MAP Functions
24
+
25
+
All of the DuckDB [map functions](https://duckdb.org/docs/sql/data_types/map.html#map-functions).
26
+
27
+
| Name | Description |
28
+
| :--- | :---------- |
29
+
|[`cardinality`](#cardinality)| Return the size of the map |
30
+
|[`element_at`](#element_at)| Return the value for a given key as a list |
NOTE: Dropping with cascade will drop all objects that depend on the MotherDuck tables. This includes all views, functions, and tables that depend on the MotherDuck tables. This can be a destructive operation, so use with caution.
0 commit comments