1. Učit se
  2. /
  3. Kurzy
  4. /
  5. Scaling and Optimizing Data Pipelines with Polars

Connected

Cvičení

Reading from SQLite with a URI

A local SQLite database has been prepared with the digital format summary the team uses every week. Use Polars' URI-based reader with the ADBC engine, which transfers data in Arrow's columnar format so Polars can use it directly without any per-row Python conversion.

The connection URI is in uri and the SQL query is in query.

Pokyny

100 XP
  • Run the query using Polars' URI-based read function.
  • Set the database engine to "adbc".