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 23f265e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,13 @@ public final class DemoWorker {
99
99
100
100
The `compute()` signature drives everything: `@Vector` parameters are per-row input columns, `@Const` parameters are bind-time constants, `@Setting` parameters read session settings, and the last unannotated Arrow vector is the framework-allocated output.
101
101
102
+
Scalar functions may override `argumentMonotonicity()` and return a
103
+
`List<ArgumentMonotonicity>`. The optional list follows `argumentSpecs()`
104
+
declaration order and must contain exactly one entry per declaration. Fixed,
105
+
defaulted, and constant arguments each occupy one slot; a vararg declaration
106
+
occupies one slot regardless of call-time expansion. Named SQL invocation order
107
+
does not reorder these claims. Returning `null` makes no claims.
108
+
102
109
**The worker JVM needs two flags** — Apache Arrow requires access to `java.nio` internals, and the shared-memory transport uses the FFM API:
0 commit comments