Is there any way to use `polars.read_database_uri`...
# questions
j
Is there any way to use
polars.read_database_uri
with the Polars
GenericDataSet
(to read SQL kind of like
SQLQueryDataSet
) or should I be looking to write a custom dataset for that functionality?
j
Hi @Jordan Barlow , from the phone so I can’t double check, but method names are autogenerated, so if you specify
format: database_uri
maybe it works? But only if the signature matches
read_csv
etc. otherwise you should create your own dataset yes
K 1
j
Apparently
filepath
is a required arg, therefore I don't think it can be used with a server database, maybe it would work with SQLite!