duckdb-web icon indicating copy to clipboard operation
duckdb-web copied to clipboard

Issue found on page 'C API'

Open tdunning opened this issue 6 months ago • 0 comments

Please describe the problem you encountered in the DuckDB documentation and include the "Page URL" link shown below. Note: only create an issue if you wish to report a problem with the DuckDB documentation. For questions about DuckDB or the use of certain DuckDB features, use GitHub Discussions, Stack Overflow, or Discord.

Page URL: https://duckdb.org/docs/api/cpp.html

The second example for creating a vectorized function appears to be truncated.

Also, lots of terms in these examples are simply undefined. It is very hard to figure out what is really necessary and what is not. The relationship to creating an extension would be nice to describe as well. One important difference is that the convenience provided by UDF_WRAPPER is apparently not available to an extension writer.

tdunning avatar Aug 07 '24 19:08 tdunning