dbt-metricflow-sql 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/PKG-INFO +2 -2
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/pyproject.toml +2 -2
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/llms-full.txt +17 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/uv.lock +27 -27
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/.gitignore +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/LICENSE +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/PYPI.md +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/README.md +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/__init__.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/cli.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/client.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/dependencies.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/docs.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/fragment.schema.json +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/plugin.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/semantics.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/server.py +0 -0
- {dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/sl_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: dbt-metricflow-sql
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.3
|
|
4
4
|
Summary: dbt v1 plugin for MetricFlow
|
|
5
5
|
Project-URL: Documentation, https://docs-internal-git-mfsql-dbt-labs.vercel.app/metricflow
|
|
6
6
|
License-Expression: LicenseRef-Fivetran
|
|
@@ -10,7 +10,7 @@ Requires-Python: >=3.9
|
|
|
10
10
|
Requires-Dist: dbt-core>=1.9
|
|
11
11
|
Requires-Dist: jsonschema>=4.19
|
|
12
12
|
Provides-Extra: sidecar
|
|
13
|
-
Requires-Dist: metricflow-sql-sidecar==0.5.
|
|
13
|
+
Requires-Dist: metricflow-sql-sidecar==0.5.3; extra == 'sidecar'
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
15
|
|
|
16
16
|
# dbt-metricflow-sql
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dbt-metricflow-sql"
|
|
3
3
|
# A placeholder: a release sets its tag's version, with scripts/set_version.py.
|
|
4
|
-
version = "0.5.
|
|
4
|
+
version = "0.5.3"
|
|
5
5
|
description = "dbt v1 plugin for MetricFlow"
|
|
6
6
|
# Its PyPI page: README.md is for this repository.
|
|
7
7
|
readme = "PYPI.md"
|
|
@@ -25,7 +25,7 @@ dbtsl = "dbt_metricflow_sql.cli:main"
|
|
|
25
25
|
# The MetricFlow server it runs by default, which needs no Python of its own: only projects with
|
|
26
26
|
# MetricFlow models run one. Pinned to this release's own version, which scripts/set_version.py
|
|
27
27
|
# sets, so upgrading the plugin upgrades its server too: unpinned, pip keeps whichever is installed.
|
|
28
|
-
sidecar = ["metricflow-sql-sidecar==0.5.
|
|
28
|
+
sidecar = ["metricflow-sql-sidecar==0.5.3"]
|
|
29
29
|
|
|
30
30
|
[project.urls]
|
|
31
31
|
Documentation = "https://docs-internal-git-mfsql-dbt-labs.vercel.app/metricflow"
|
|
@@ -194,6 +194,23 @@ Each command's options are in its help: `dbtsl config --help`, and e.g.
|
|
|
194
194
|
|
|
195
195
|
# Release notes
|
|
196
196
|
|
|
197
|
+
## 0.5.3
|
|
198
|
+
|
|
199
|
+
### New
|
|
200
|
+
|
|
201
|
+
- **Inferred types in the information schema.** `information_schema.columns` reports the type of a calculation or metric that doesn't declare one, instead of `varchar`.
|
|
202
|
+
- **LookML parameter values.** The LookML converter now converts Liquid that switches on a parameter's value, e.g. `{% if orders.refunds._parameter_value == 'include' %}`, and passes it to the dataset as a boolean parameter.
|
|
203
|
+
- **Looker time zones.** When Looker's connection to the semantic layer has a query time zone, the LookML converter's `--looker-converts` leaves the time fields Looker converts in UTC, so they aren't converted twice.
|
|
204
|
+
|
|
205
|
+
### Fixes
|
|
206
|
+
|
|
207
|
+
- Compiling without a default warehouse catalog works again, e.g. for a Databricks profile without one. A dataset's table must then name its catalog and schema.
|
|
208
|
+
- A raw warehouse table can be queried unless a dataset with permissions reads it.
|
|
209
|
+
- A constellation query that reads only metrics, without aggregating them, compiles. It used to compile to an empty `SELECT`.
|
|
210
|
+
- A measure behind a one-to-many relationship and then a many-to-one relationship counts each of its own rows once, instead of once per row of the dataset in between.
|
|
211
|
+
- Trino SQL with `LIKE ... ESCAPE`, or with `AT TIME ZONE` on a time without a zone, compiles to BigQuery.
|
|
212
|
+
- Legacy semantics convert to a bundle the server loads when an entity has its semantic model's name, or a source column's name in another case. A dimension that's a constant, such as `1`, compiles.
|
|
213
|
+
|
|
197
214
|
## 0.5.2
|
|
198
215
|
|
|
199
216
|
### New
|
|
@@ -1515,7 +1515,7 @@ requires-dist = [
|
|
|
1515
1515
|
{ name = "msgspec", specifier = ">=0.19" },
|
|
1516
1516
|
{ name = "ruamel-yaml", marker = "extra == 'server'", specifier = ">=0.18" },
|
|
1517
1517
|
{ name = "ruamel-yaml", marker = "extra == 'yaml'", specifier = ">=0.18" },
|
|
1518
|
-
{ name = "sqlglot", extras = ["c"], specifier = ">=30.
|
|
1518
|
+
{ name = "sqlglot", extras = ["c"], specifier = ">=30.32.0" },
|
|
1519
1519
|
{ name = "starlette", marker = "extra == 'server'", specifier = ">=0.47.0" },
|
|
1520
1520
|
{ name = "uvicorn", marker = "extra == 'server'", specifier = ">=0.34.0" },
|
|
1521
1521
|
{ name = "wenmode", specifier = ">=0.15.2" },
|
|
@@ -3352,11 +3352,11 @@ wheels = [
|
|
|
3352
3352
|
|
|
3353
3353
|
[[package]]
|
|
3354
3354
|
name = "sqlglot"
|
|
3355
|
-
version = "30.
|
|
3355
|
+
version = "30.32.0"
|
|
3356
3356
|
source = { registry = "https://pypi.org/simple" }
|
|
3357
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
3357
|
+
sdist = { url = "https://files.pythonhosted.org/packages/59/fc/65b3afaf423ae0e9a10b1ef682f55fd36704ea9bc9c015f01a39f5527e0c/sqlglot-30.32.0.tar.gz", hash = "sha256:9ac4efcd13245e9a2b5909e0d9dd96e1c585cee681b1b4481ae642001839cfc9", size = 6238096, upload-time = "2026-11-16T16:26:29.208Z" }
|
|
3358
3358
|
wheels = [
|
|
3359
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3359
|
+
{ url = "https://files.pythonhosted.org/packages/8b/68/d97047f3c23863249d7e4a6fbd80b64409cf517f6ac5cec3fb57b70172e2/sqlglot-30.32.0-py3-none-any.whl", hash = "sha256:b7d7bb1cbb9f9645399f33bb818e23d3c9e5d44eaf564aecfb26bc45c1a0958e", size = 824973, upload-time = "2026-11-16T16:26:27.293Z" },
|
|
3360
3360
|
]
|
|
3361
3361
|
|
|
3362
3362
|
[package.optional-dependencies]
|
|
@@ -3366,33 +3366,33 @@ c = [
|
|
|
3366
3366
|
|
|
3367
3367
|
[[package]]
|
|
3368
3368
|
name = "sqlglotc"
|
|
3369
|
-
version = "30.
|
|
3369
|
+
version = "30.32.0"
|
|
3370
3370
|
source = { registry = "https://pypi.org/simple" }
|
|
3371
3371
|
dependencies = [
|
|
3372
3372
|
{ name = "sqlglot" },
|
|
3373
3373
|
]
|
|
3374
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
3375
|
-
wheels = [
|
|
3376
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3377
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3378
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3379
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3380
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3381
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3382
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3383
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3384
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3385
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3386
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3387
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3388
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3389
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3390
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3391
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3392
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3393
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3394
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3395
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
3374
|
+
sdist = { url = "https://files.pythonhosted.org/packages/f5/d5/326134b8e0bb0b76ffa98f897719b2853d396a6a31aa38dce0f9a5aef0d0/sqlglotc-30.32.0.tar.gz", hash = "sha256:0ad76676cd087f9bb18f9a0667db05c7941186b2086bffe2cb2af1650b6ee442", size = 575163, upload-time = "2026-11-16T16:25:35.919Z" }
|
|
3375
|
+
wheels = [
|
|
3376
|
+
{ url = "https://files.pythonhosted.org/packages/24/07/25c9b548731cb0718578b81f73bb99cab09ed915fdf5a230dbeb15842167/sqlglotc-30.32.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:f2d52242f61947b522805b4d03de444e3616818b74eafc1b6d7b4b13e0d04ad3", size = 30928620, upload-time = "2026-11-16T16:24:20.908Z" },
|
|
3377
|
+
{ url = "https://files.pythonhosted.org/packages/fa/b1/13765dab9bbcf9c6bb7de6c4a4f74a86d0e8253a2cf8662a4ca74f03fe32/sqlglotc-30.32.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b4da05c9985d39b570e88b08e212a8463f184f3d4d8b6e6ed2612b4f9180831", size = 17201793, upload-time = "2026-11-16T16:24:25.294Z" },
|
|
3378
|
+
{ url = "https://files.pythonhosted.org/packages/63/0b/956ad496eab4c3a8b294a1ecf25a5d40a6e3d909497c2e4cb6d1cf25ba12/sqlglotc-30.32.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:542fcabc29ee705fb2dbd87b418e23e974d50d6990817af8101fb5912e8b35b3", size = 18375314, upload-time = "2026-11-16T16:24:28.78Z" },
|
|
3379
|
+
{ url = "https://files.pythonhosted.org/packages/6d/7b/be908495870c50202df6ad3e1bbf768ef61fdc21339836f51b94a7223c78/sqlglotc-30.32.0-cp311-cp311-win_amd64.whl", hash = "sha256:0a9cf398acd2cbb2d29ba21561ea3ce979d54d306cb2d8fedb5c4022847b9912", size = 11681816, upload-time = "2026-11-16T16:24:31.999Z" },
|
|
3380
|
+
{ url = "https://files.pythonhosted.org/packages/11/02/6762adf162c0bd142ed65797ff7a3bc94f3dd1bfad13238b09a7776bcd22/sqlglotc-30.32.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:8270aa05c6bf7390889866efcc28e36d54e8f5cb3dfb9fc29b889ebe62965792", size = 31220492, upload-time = "2026-11-16T16:24:36.404Z" },
|
|
3381
|
+
{ url = "https://files.pythonhosted.org/packages/9b/f4/2a281f646e280f14616fb5503b01cd4ebd69ee52db676aea48ee0e3da632/sqlglotc-30.32.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:930587f3d2d59224a761e493d2f34fe941b42a41088c1214d73e44ea237a1f32", size = 17293709, upload-time = "2026-11-16T16:24:39.869Z" },
|
|
3382
|
+
{ url = "https://files.pythonhosted.org/packages/e7/e5/9a214b56a04e325bb2f4b7cf4a0933a0aed7bc235d36cf74cc6feb170db7/sqlglotc-30.32.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1cc62feee8ead8cedc85bfb9718c9e175e99eeada8717a68d0f7d8d7707c22c6", size = 18538640, upload-time = "2026-11-16T16:24:43.141Z" },
|
|
3383
|
+
{ url = "https://files.pythonhosted.org/packages/98/b3/3afd9952509ad54cac7718b283eebf9ad2686e09b162051646bfcb6721e6/sqlglotc-30.32.0-cp312-cp312-win_amd64.whl", hash = "sha256:b51ca6cff7217413d81ebec801fe1e655aa94b5a3289d0eedeb9cd07f6e97fcc", size = 11911764, upload-time = "2026-11-16T16:24:46.166Z" },
|
|
3384
|
+
{ url = "https://files.pythonhosted.org/packages/e7/24/94f2182233bc017c3c5a6084b2f129da2c03b849291f33100661d5f6f8bf/sqlglotc-30.32.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:db71dcc462e4e500a53f138ec803baa4fd3e41fb9b75b43b7760b034b1424c7c", size = 30762895, upload-time = "2026-11-16T16:24:49.854Z" },
|
|
3385
|
+
{ url = "https://files.pythonhosted.org/packages/e4/a8/48e31ddcc6d7531dec4ff76a5d85372de8640b94d205ed482041581a60ad/sqlglotc-30.32.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7c293ae87ddd29df37f84b38dd043b6e2644649dc1e1a73ff2dd1bb1c4a7888f", size = 17226003, upload-time = "2026-11-16T16:24:59.732Z" },
|
|
3386
|
+
{ url = "https://files.pythonhosted.org/packages/fd/af/fdca5dec2984cd0b30f1494ba4ee2cc05c658c32468d62d7cbdcdbe6b47c/sqlglotc-30.32.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e17d86220c0999628a032157ccf4192b7daee4e3e7955ff763be0d0c2575d91b", size = 18415383, upload-time = "2026-11-16T16:25:03.031Z" },
|
|
3387
|
+
{ url = "https://files.pythonhosted.org/packages/60/a3/69389219cd94385e77ce29e6a083f0b82add5a01934363184c1ebab1b658/sqlglotc-30.32.0-cp313-cp313-win_amd64.whl", hash = "sha256:36c34feb33d952b11e7c2ab1022de704259d528413180d1c914e91e7f94f544e", size = 11924616, upload-time = "2026-11-16T16:25:06.056Z" },
|
|
3388
|
+
{ url = "https://files.pythonhosted.org/packages/2a/07/60f309fa83f977c306bdf479126e1e9e4f27f077afb65b521e40b50cae9a/sqlglotc-30.32.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:5a4e77a025311703011a056bc182d36568a1009ee1bc071042a34ac621175b5d", size = 30674890, upload-time = "2026-11-16T16:25:10.065Z" },
|
|
3389
|
+
{ url = "https://files.pythonhosted.org/packages/47/18/88f8b7f1a3f56fba344ebd16a0a6d094d301b2a5173766dddbdead197c0a/sqlglotc-30.32.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:17fda7cf846af88e24a8f22bc3d211fc2af8ace972ebf8296e609ede63f81b6a", size = 17227421, upload-time = "2026-11-16T16:25:13.643Z" },
|
|
3390
|
+
{ url = "https://files.pythonhosted.org/packages/a7/00/4e7e5f739d277432ab355d0af4a7be867884dc11ae65cbbb5478a43c6988/sqlglotc-30.32.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c43e0bb9a7f9eaa396ea1f336621fb0f40a128efd95e19756df9bfba7baf3725", size = 18348390, upload-time = "2026-11-16T16:25:16.949Z" },
|
|
3391
|
+
{ url = "https://files.pythonhosted.org/packages/50/ed/54cd5131e32e992ce898c1c62cc08ac9940ca035b2f6f2d40203941a6c06/sqlglotc-30.32.0-cp314-cp314-win_amd64.whl", hash = "sha256:a53c5eb4bda7bcfe6ca759e04412bbefad0a26fefb25fc23d7495423e1d03a7f", size = 12084897, upload-time = "2026-11-16T16:25:20.154Z" },
|
|
3392
|
+
{ url = "https://files.pythonhosted.org/packages/16/ea/935319c2516088bcb457d10094e1e25c6a0d3093163ffece5ab585ff4b77/sqlglotc-30.32.0-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:f69de7b58a194f3cebe2f0f8bdfba73d5ec619f93bb065a6094b9d368a46f5e7", size = 30662293, upload-time = "2026-11-16T16:25:24.409Z" },
|
|
3393
|
+
{ url = "https://files.pythonhosted.org/packages/ff/77/98e65bbfee974d3860c00599ca95b3ca4c59fad97f41156bef68cc752614/sqlglotc-30.32.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:825fa012d5b3ee7162c2669aedbd8b656f2253d25f888dd5853b818bf739103d", size = 17277658, upload-time = "2026-11-16T16:25:27.772Z" },
|
|
3394
|
+
{ url = "https://files.pythonhosted.org/packages/fc/c1/42f58eb7a5ddcdb47296cd56dff25cf5749897035c5a8ed7c9b3767af997/sqlglotc-30.32.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:45e4968955489dc96016021e08f44688a9bc676e1d2d54cdb34f0e687575a260", size = 18249782, upload-time = "2026-11-16T16:25:30.994Z" },
|
|
3395
|
+
{ url = "https://files.pythonhosted.org/packages/c0/71/5fcafe99c6d51d6779053cabb54ffc8d6a76c388f99625dd43aa32d7f0fd/sqlglotc-30.32.0-cp315-cp315-win_amd64.whl", hash = "sha256:6329bc0c22227717d461321a25aea56d14ff27fd3898f890f2ff2a2503ff4347", size = 12084473, upload-time = "2026-11-16T16:25:33.962Z" },
|
|
3396
3396
|
]
|
|
3397
3397
|
|
|
3398
3398
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/dependencies.py
RENAMED
|
File without changes
|
|
File without changes
|
{dbt_metricflow_sql-0.5.2 → dbt_metricflow_sql-0.5.3}/src/dbt_metricflow_sql/fragment.schema.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|