<!-- Release notes generated using configuration in .github/release.yml at main -->
What's Changed
🐛 Bug Fixes
* db: atomically create output file by skshetry in https://github.com/iterative/dvc/pull/10224
* top-level plot collections: fail on empty dict by skshetry in https://github.com/iterative/dvc/pull/10233
Other Changes
* import-db: support importing a table by skshetry in https://github.com/iterative/dvc/pull/10219
* database: drop dbt implementation by skshetry in https://github.com/iterative/dvc/pull/10222
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvc/pull/10223
* import-db: fix metavar by skshetry in https://github.com/iterative/dvc/pull/10226
* cli: lowercase metavar by default by skshetry in https://github.com/iterative/dvc/pull/10227
* Revert "import-db: fix metavar" by skshetry in https://github.com/iterative/dvc/pull/10228
**Full Changelog**: https://github.com/iterative/dvc/compare/3.38.1...3.39.0