Currently we must set duckdb thread to 1 to use DuckDB::ScalarFunction functionality. make DuckDB::ScalarFunction work multi thread duckdb. ``` con.execute('SET threads=1') we need this to use DuckDB:ScalarFunction ```