When using the PRINTF function with a single string argument containing a format specifier (e.g., 's%'), DuckDB throws an "Invalid Input Error: Argument index '0' out of range." This behavior diverges ...
Does it mean that format may be a kernel argument rather than a string literal? For example: __kernel void f(__constant char* arg) { printf(arg); } I don't see any such code in the CTS. I prefer this ...
The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...