dbt-labs / dbt-core

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
https://getdbt.com
Apache License 2.0
9.68k stars 1.61k forks source link

[Bug] dbt config format #10293

Closed ciolo15 closed 3 months ago

ciolo15 commented 3 months ago

Is this a new bug in dbt-core?

Current Behavior

I have the following code and I click the Format button. First attempt, nothing happens: image On the second attempt, I will add a few more characters to the unique_key property: image On the third attempt, I will some other characters: image

Expected Behavior

The expected behaviour is what happens on the third attempt but it looks like the formatting is working based on the number of character that I have in the config macro.

Steps To Reproduce

Just follow the code in the attached photos

Relevant log output

No response

Environment

- OS:
- Python:
- dbt:1.7

Which database adapter are you using with dbt?

No response

Additional Context

No response

dbeatty10 commented 3 months ago

Thanks for reaching out @ciolo15 !

Could you submit to the dbt Cloud support team via the "Create a support ticket" or "Leave feedback" button in dbt Cloud? Link to this GitHub issue in your description. See screenshots below for an example.

Since this is specific to dbt Cloud and not dbt Core, I'm going to close this issue as "not planned" for the dbt-core repo.

Screenshots in dbt Cloud

Here's a couple screenshots of the process of leaving feedback in dbt Cloud (for this one you might choose "Create a support ticket" instead):

  1. Screenshot 2024-03-22 at 7 09 17 AM
  2. image