Comments (4)
Whilst this is being worked on, what is the workaround please for successfully being able to run metric flow commands such as mf list metrics
with a codebase.
I created a vanilla virtual environment where I installed just dbt-metricflow but running the mf list metrics
commands complains about missing adapter. I guess dbt-metricflow
is technically standalone but indirectly, it is not when you consider real world of what profiles.yml and artifact files look like. So then I went through a process of whack-a-mole installing dbt-adapters and then dbt-common etc. etc. to try and get to a place where I could run the command. Eventually, I installed everything together (incl dbt-core) but then you get the profobuf issue (TypeError: Couldn't build proto file into descriptor pool: duplicate file name types.proto
) which is the one I assume updating dbt-metricflow's dependencies to not be incompatible with dbt 1.8 will solve.
But in the meantime, how can I get a stable environment?
from metricflow.
@plypaul please can you advise when a new version of dbt-metricflow will be released on pypi with this critical fix?
from metricflow.
@adamcunnington-mlg Sorry, missed your comment earlier. I tried a test run with a clean virtual environment, and things seemed to work with what's currently on master. Mind sharing the commands that you ran so I can reproduce it?
from metricflow.
@plypaul thank you - the problem can be reproduced by installing dbt-core and dbt-bigquery for 1.8 and then subsequently installing dbt-metricflow
which will force a downgrade of dbt-core
and then you'll run into a low-level Protobuf issue, basically caused by incompatibilities between the adapter's dependencies and dbt-core/dbt-metricflow.
You can get around this by doing pip install dbt-metricflow[bigquery]
which will have the effect of downgrading both but the way I'd expect this to work is that dbt-metricflow's dependencies are more dynamic and controlled by my existing environment (dbt-core & dbt-bigquery).
from metricflow.
Related Issues (20)
- [SL-1987] Post-join filter application on time spine queries results in invalid query exceptions HOT 3
- [SL-2009] Remove SemanticModelAccessor and MetricAccessor protocols
- [SL-2103] [Feature] Create `metricflow-semantics` Package
- [SL-2110] [Feature] Add a Dependency Resolver for Saved Queries
- [Bug] Cannot use filtered and unfiltered metric based on same measure together in one metric HOT 1
- [SL-2147] [Bug] You should be able to silence Pydantic warning for multiple identical input measures HOT 2
- [SL-2184] Conversion metrics do not apply filters to input conversion measures HOT 1
- [SL-2194] Conversion metrics cannot render queries with filters unless the element is in the group by
- [SL-2201] Conversion Metric Filtering Tasklist
- [SL-2217] [Feature] Support period-over-period calculations at query time
- [SL-2236] [SL-2237] [Feature] Add default filter for join_to_timespine
- [SL-2251] [Bug] Error when trying to add a time dimension at a monthly grain as a non-additive dimension
- [SL-2393] Development environment does not work correctly on Windows
- [SL-2397] [Feature] Update mf validate-configs --> mf validate and only run warehouse validation
- [SL-2418] [Bug] Missing column names when writing a query to CSV HOT 1
- [SL-2426] [Feature] Add 'data_type' key to dimension spec
- [Bug] MetricFlow 0.206.0 asks you to upgrade to MetricFlow 0.206.0
- [Bug] `meta` field not added to the metric HOT 1
- [Bug] Using BigQuery service account to run tests opens browser windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metricflow.