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
{{ message }}
Repository navigation
Commit 866511c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/catalog-interface.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ Information about a function in a schema:
128
128
|`arguments`|`SerializedSchema`| Argument schema as Arrow bytes |
129
129
|`output_schema`|`SerializedSchema`| Output schema as Arrow bytes |
130
130
|`parameter_default_values`|`pa.RecordBatch \| None`| One-row typed defaults batch containing only defaulted parameters in signature order; a present null is an explicit `NULL` default |
131
+
|`argument_monotonicity`|`list[ArgumentMonotonicity] \| None`| Scalar-only claims aligned exactly with `arguments`; a vararg declaration occupies one slot |
Copy file name to clipboardExpand all lines: docs/protocol/vgi-protocol-proposed-changes.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Proposed VGI protocol changes for DuckDB 2.0
2
2
3
-
**Status:** design/audit report, not an implementation specification
3
+
**Status:** design/audit report; the argument-monotonicity subsection records an accepted VGI 2.0 protocol addition
4
4
**Audit date:** 2026-09-09
5
5
**Filter-v2 decision:** 2026-09-09 — mandatory in VGI 2.0; no v1 compatibility path
6
6
**DuckDB range examined:**`v1.5.5..03a1639e3bba0e50bab4c341ebc89137c86b793a` (`v2.0-cyanoptera` plus the multi-column table-function pushdown branch)
@@ -409,15 +409,30 @@ DuckDB replaces the old dynamic-to-string hook with `get_metrics` and `OperatorM
409
409
410
410
### Function metadata
411
411
412
-
DuckDB 2.0 adds optimizer-facing per-argument monotonicity and strengthens fallibility handling. VGI already transports scalar stability and null handling, but not monotonicity or “can throw at runtime.” Defaults are conservative in the optimizer, so these are optional metadata additions:
412
+
DuckDB 2.0 adds optimizer-facing per-argument monotonicity and strengthens
413
+
fallibility handling. VGI 2.0 adds the following nullable field immediately
0 commit comments