Skip to content

Conversation

@jhiza
Copy link
Contributor

@jhiza jhiza commented Dec 5, 2025

Please provide your name and company
Justin Hiza - isolved

Link the issue/feature request which this PR is meant to address
#72

Detail what changes this PR introduces and how this addresses the issue/feature request linked above.
staging models necessary to materialize an articles int model

How did you validate the changes introduced within this PR?
developed, ran and tested locally

Which warehouse did you use to develop these changes?
databricks

Did you update the CHANGELOG?

  • Yes

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

  • Yes

Typically there are additional maintenance changes required before this will be ready for an upcoming release. Are you comfortable with the Fivetran team making a few commits directly to your branch?

  • Yes
  • No

If you had to summarize this PR in an emoji, which would it be?
💃

Feedback

PR Template

@fivetran-catfritz fivetran-catfritz added the next-release Include in the next release. label Dec 9, 2025
dbt_project.yml Outdated
version: '1.3.0'
require-dbt-version: [">=1.3.0", "<3.0.0"]
version: '1.4.0'
require-dbt-version: [">=1.4.0", "<3.0.0"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require-dbt-version: [">=1.4.0", "<3.0.0"]
require-dbt-version: [">=1.3.0", "<3.0.0"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Contributor

@fivetran-catfritz fivetran-catfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great. A few more adjustments, and then we can mark this as accepted!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This model should be removed in favor of the final model.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general final models shouldn't have as complex of logic necessarily built in, which is why I left the intermediate as the layer between staging and final. Even though it's somewhat a "no-op" at the moment, it's possible that other finals might be buit leveraging pieces of the intermediate. I'm happy to remove, but in general I didn't believe it to be best practice to have final reading from stg_ layers.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for raising this. In our package design, we only introduce an intermediate layer when it provides meaningful transformation or reuse. Since this intermediate is currently a passthrough, keeping it would add complexity without much benefit. If future logic requires an intermediate, we can introduce it then, but for now keeping the final model directly on top of staging is consistent with the rest the other end models in this package.

That said, if you’d like to keep this structure in your fork for your process, that’s more than completely fine! We can update the format on our branch before release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the contents from int_intercom__article_enhanced here, so it's easy to find.

- name: _fivetran_end
description: Timestamp to record the time when a record became inactive in the source system.

- name: int_intercom__article_enhanced
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can remove thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@fivetran-catfritz fivetran-catfritz changed the base branch from main to feature/article-models December 11, 2025 16:31
@fivetran-catfritz fivetran-catfritz self-assigned this Dec 11, 2025
@fivetran-catfritz fivetran-catfritz merged commit b7da6da into fivetran:feature/article-models Dec 11, 2025
@fivetran-catfritz
Copy link
Contributor

Merged and continued in #74.

fivetran-jamie added a commit that referenced this pull request Dec 15, 2025
* feat: add article, collection, and help_center models (#73)

* feat: add article, collection, and help_center models

* add changelog and verions updates

* Update CHANGELOG.md

* updating final model

* updating final model

* updating version feedback

* updating per PR feedback to move intermediate model to final

* fix quoting issues

* add consistency test

* add consistency test

* update format

* changelog

* changelog

* Generate dbt docs via GitHub Actions

* updates

* Generate dbt docs via GitHub Actions

* remove extra whitespace

* formatting

* Generate dbt docs via GitHub Actions

* formatting again

* Generate dbt docs via GitHub Actions

* Update README.md

* Update models/intercom__article_enhanced.sql

Co-authored-by: Jamie Rodriguez <[email protected]>

* review updates

* run_models

* Generate dbt docs via GitHub Actions

* run_models

* changelog

* Update README.md

Co-authored-by: Jamie Rodriguez <[email protected]>

---------

Co-authored-by: Justin Hiza <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jamie Rodriguez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

next-release Include in the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants