metricflow-doris
Apache Doris adapter for MetricFlow.
Installation
pip install metricflow-doris
Features
- SQL rendering for Apache Doris dialect
- DATETIME type support (Doris uses DATETIME instead of TIMESTAMP)
- DATE_ADD/DATE_SUB with INTERVAL syntax
- PERCENTILE_APPROX for approximate continuous percentile
- ISO day-of-week conversion
- Case-sensitive table alias handling
Usage
from metricflow_doris import DorisSqlPlanRenderer
renderer = DorisSqlPlanRenderer()
Requirements
- Python >=3.9, <3.13
- metricflow >= 0.209.0
- pydoris == 1.2.0
- dbt-doris == 1.0.0
- mysqlclient >= 2.1.0, < 3
Metadata
Release files for metricflow-doris 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| metricflow_doris-0.1.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| metricflow_doris-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / metricflow_doris-0.1.0.tar.gz
| Download URL | metricflow_doris-0.1.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea4433ad44f29aded809ca04de45ae6479e58a679cefbc68238dc146e7310826
|
|
BLAKE2b-256 checksum How to use checksums |
874a5954058ed84ecec60eccb7082682e884b4b78521e0a989ad45593a3d82ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / metricflow_doris-0.1.0-py3-none-any.whl
| Download URL | metricflow_doris-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b73a9bf843205541263f4788958ef6cb571556bed2fe2ba10e42d275c445cdd1
|
|
BLAKE2b-256 checksum How to use checksums |
19df5a6469ffe5d174308fd0e0111ac3baeff46cf4ca1836c9603328001fec52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|