Using something like duckdb could help in scenarios like this one?