Skip to main content

Apache Doris adapter for MetricFlow.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metricflow_doris-0.1.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metricflow_doris-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file metricflow_doris-0.1.0.tar.gz.

File metadata

  • Download URL: metricflow_doris-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for metricflow_doris-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea4433ad44f29aded809ca04de45ae6479e58a679cefbc68238dc146e7310826
MD5 3bb6ee2db1183c227c65ef4ccc1314ba
BLAKE2b-256 874a5954058ed84ecec60eccb7082682e884b4b78521e0a989ad45593a3d82ef

See more details on using hashes here.

File details

Details for the file metricflow_doris-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for metricflow_doris-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b73a9bf843205541263f4788958ef6cb571556bed2fe2ba10e42d275c445cdd1
MD5 97efcfb4f537c298a7b146be061e1806
BLAKE2b-256 19df5a6469ffe5d174308fd0e0111ac3baeff46cf4ca1836c9603328001fec52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page