Skip to content

v0.3.0

Choose a tag to compare

@teaguesterling teaguesterling released this 06 Sep 07:51
· 45 commits to main since this release
ed51705

Builds against DuckDB 2.0.0 as well as the pinned v1.5 line.

  • DuckDB 2.0 compatibility. CompatName is derived from table_function_bind_t's fourth parameter with a static_assert pinning it, rather than probed for with __has_include — identifier.hpp was backported into v1.5-variegata without the accompanying signature change, so a header-presence probe returns the wrong answer as soon as pins advance. All four Catalog::GetEntry call sites are wrapped, including the templated one in BindApplyWith, along with the child_list_t keys and the FunctionExpression/BindScalarFunction name sites.
  • The security model is documented. Modes (none/blacklist/whitelist/validator) and the func_apply_set_* functions existed but were absent from the README, with the default being mode = "none" — no restrictions. The function table was also incomplete: it named validator as a mode with no documented way to set it.
  • A README example that never worked is fixed. apply_table_with('generate_series', args := [1], kwargs := {stop: 10, step: 2}) errored on every version that shipped it — stop/step are positional parameters, and kwargs is not a keyword-flavoured way to spell them. Replaced with examples that run, plus the first passing tests for apply_table_with's kwargs; the only prior case asserted a failure.
  • Return-type behaviour documented, including that VARCHAR is the fallback when a constant name fails bind-time lookup, not only for dynamic names.

Verified on both lines: main CI green, and the DuckDB-main canary's Build and Test steps both passing — this repo's first green canary on main.