Skip to content

fix: update microbatch compiled code docs to use new macro name#2273

Merged
GuyEshdat merged 2 commits into
docsfrom
fix/rename-microbatch-macro-docs
Jun 18, 2026
Merged

fix: update microbatch compiled code docs to use new macro name#2273
GuyEshdat merged 2 commits into
docsfrom
fix/rename-microbatch-macro-docs

Conversation

@GuyEshdat

Copy link
Copy Markdown
Contributor

Summary

Updates docs to reflect the macro rename in dbt-data-reliability (companion PR: elementary-data/dbt-data-reliability).

The package-level macro is renamed from get_incremental_microbatch_sql to capture_microbatch_compiled_code_sql to avoid silently breaking microbatch execution for all Elementary users (see dbt-data-reliability PR for full root cause explanation).

Docs change: The user's root project wrapper macro name (get_incremental_microbatch_sql) stays the same — only the Elementary macro it delegates to changes.

Before:

{% macro get_incremental_microbatch_sql(arg_dict) %}
  {{ return(elementary.get_incremental_microbatch_sql(arg_dict)) }}
{% endmacro %}

After:

{% macro get_incremental_microbatch_sql(arg_dict) %}
  {{ return(elementary.capture_microbatch_compiled_code_sql(arg_dict)) }}
{% endmacro %}

@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: d129687f-ecb0-4a70-9a96-1fa191eed635

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/rename-microbatch-macro-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

@mintlify

mintlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
elementary 🟢 Ready View Preview Jun 18, 2026, 12:07 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@GuyEshdat GuyEshdat merged commit 342fd3c into docs Jun 18, 2026
7 of 8 checks passed
@GuyEshdat GuyEshdat deleted the fix/rename-microbatch-macro-docs branch June 18, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant