within works as a plain vector op but cannot be used inside a select where: clause - the DAG compiler rejects it:
‣ (set t (table [sn] (list [1 2 3 4 5])))
┌─────────────────────────────────────┐
│ sn │
│ I64 │
├─────────────────────────────────────┤
│ 1 │
│ 2 │
│ 3 │
│ 4 │
│ 5 │
├─────────────────────────────────────┤
│ 5 rows (5 shown) 1 columns (1 shown)│
└─────────────────────────────────────┘
‣ (select {from: t where: (within sn (enlist 2 4)) c: sn})
error: domain: WHERE predicate not supported by DAG compiler — most common causes: arity mismatch (e.g. `(in v)` instead of `(in col v)`), unknown function name, unsupported special form, or a sub-expression the compiler can't lower
within works as a plain vector op but cannot be used inside a select where: clause - the DAG compiler rejects it: