dbt-labs / dbt-semantic-interfaces

The shared semantic layer definitions that dbt-core and MetricFlow use.
Apache License 2.0
71 stars 14 forks source link

Rename `SavedQuery.group_bys` to `SavedQuery.group_by` #186

Closed plypaul closed 1 year ago

plypaul commented 1 year ago

Resolves #192

Description

Please see associated issue for more details.

Checklist

github-actions[bot] commented 1 year ago

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide.

plypaul commented 1 year ago

@QMalcolm - How do we go about handling this kind of rename on the dbt-core side?

QMalcolm commented 1 year ago

@QMalcolm - How do we go about handling this kind of rename on the dbt-core side?

We can't, at least not for dbt-core 1.7, and that is a for a few reasons

The only way to do this currently for dbt-core 1.7.0 and DSI 0.3.0 would be to support both, which also seems undesireable

QMalcolm commented 1 year ago

Also I have a few separate questions:

  1. Is there context on why we want to rename this? The listed metricflow issue has group_bys not group_by
  2. For this kind of work going forward can we get a DSI issue created? I had no idea this was coming down the pipe and I'm missing a lot of context of what we actually want to get it into. Additionally with automatically creating release changelog via changie we need to link to issues in this project.
QMalcolm commented 1 year ago

We'll put this into 0.4.0 and then jam that into the final cut of dbt-core 1.7.0

plypaul commented 1 year ago

@QMalcolm - Good point, created an issue in DSI and updated links.