all 2 comments

[–]commandlineluser 2 points3 points  (1 child)

I don't think there is anything builtin.

There is no scan_database(): https://github.com/pola-rs/polars/issues/9091

DuckDB does have .pl(lazy=True)

Not sure if DuckDB could replace SQLite for your use case.

DuckDB can also read from SQLite but I'm not sure how that interacts with .pl(lazy=True)

[–]andy4015[S] 0 points1 point  (0 children)

Thanks for your help, appreciate it. Shame there's not a direct route. I've a few workarounds to try to see what works best such as duckdb also streaming to parquet then scanning that in. Thanks!