Files
dvc/tests/func
skshetry 8768b50aed experimental: support connection strings for databases (#10125)
* experimental: support connection strings for databases using connectorx

This adds an experimental support for connector strings using connectorx.

User has to provide config for the connection strings with:

Example:
```console
dvc config --local db_connection.pg postgres://user:pass@localhost:5432/database
```

And then, they can import using:
```console
dvc import-db --sql 'query' --conn pg
```

Check supported databases and how to configure in https://sfu-db.github.io/connector-x/databases.html.
This `db_connection` config is subject to change.

connectorx still has the same problem with dbt as before: no support for streaming,
but it'll be a bit more simpler to configure with the connection strings.

* add pandas to deps

* sqlalchemy

* dbt streaming sql

* fix test

* remove connectorx

* remove check in set

* use mode='wb' for serialization
2023-12-03 19:23:09 +05:45
..
2023-11-15 16:28:17 +02:00
2023-10-05 13:39:06 -04:00
2023-06-18 18:58:30 +03:00
2023-10-14 12:54:57 +05:45
2023-11-09 20:58:58 +05:45
2023-11-15 16:28:17 +02:00
2023-09-28 21:54:06 +03:00
2023-08-04 15:42:25 +03:00
2023-02-08 23:05:45 +02:00
2023-11-09 20:58:58 +05:45
2023-08-18 00:08:48 +03:00
2023-06-09 18:34:36 +03:00
2022-01-19 12:22:07 +02:00
2023-06-09 18:34:36 +03:00