今回は、2025年10月28日に発表された、dbt-core v1.11.0b4 の変更点について、詳しく見ていこうと思います。 dbt-core v1.11.0b4は、関数の揮発性(volatility)を指定できるようになったほか、Pythonで定義されたユーザー定義関数(UDF)の解析もサポートされました。
前回の記事でPostgreSQLのサーバー立ち上げとテーブル作成までできたので、今回はPythonのプログラムからDB操作をします。 1.Pythonライブラリの準備 PythonからPostgreSQLの操作をするための準備をしていきます。 主にこちらの記事を参考にさせていただきました。
The idea is to have one central reference for all our Python dependencies, DBT being one of them. UV makes this possible because it allows us to manage Python packages via a central lock file (uv.lock ...