question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`lightdash compile` is not recognizing changes to my `.yml` files

See original GitHub issue

Description

When I ran lightdash compile, I got an error saying this column doesn't exist. Fair enough.

I went to the dbt .yml file for the model, removed the column from the .yml file, and re-ran lightdash compile

It’s still giving me the same error, even though the column is no longer in the .yml file.

I’d expect lightdash compile to notice these changes.

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
owlascommented, Jun 29, 2022

Since we run lightdash compile before lightdash deploy and lightdash preview

would we also be happy for dbt compile to trigger before all these actions above? Just trying to figure out the best UX!

0reactions
github-actions[bot]commented, Jul 1, 2022

🎉 This issue has been resolved in version 0.167.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autogenerate Lightdash-ready .yml files for your models
yml files. Inside your dbt project, open a terminal and run this command to generate the schema. yml file for a model called...
Read more >
Lightdash.yml | Documentation
A lightdash.yml file can only contain one project. Here are two examples of valid lightdash.yml files for each of the three project types:....
Read more >
Adding metrics | Documentation - Lightdash Docs
You can define metrics in your dbt project .yml files along with your dimensions ... Once you've added your metrics, you can use...
Read more >
Sync your changes with Lightdash deploy | Documentation
lightdash deploy syncs the changes in your dbt project to Lightdash. ... Find your data warehouse from the list below to get a...
Read more >
Adding and managing Tables in your Lightdash project
Configuring which Tables appear in your Lightdash project​. Sometimes, there are models in our dbt project with .yml files that we might not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found