Skip to content

Compiling a Windows DLL With Support for Parquet Queries #2533

Discussion options

You must be logged in to vote

So I added my own end point to load the parquet extension:

__declspec(dllexport) void load_parquet_ext(duckdb_database *database)
{
    auto wrapper = (DatabaseData *)database;
    DuckDB db = *wrapper->database;
    db.LoadExtension<ParquetExtension>();
}

It compiles and even runs. I am having some stability issues with the created DLL's even without calling (or including) this endpoint so I need to sort that out as well.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@SartorialOffense
Comment options

Answer selected by SartorialOffense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant