Skip to content

Postgres - optimize audit_table#184

Open
fivetran-jamie wants to merge 18 commits intomainfrom
postgres/audit-table
Open

Postgres - optimize audit_table#184
fivetran-jamie wants to merge 18 commits intomainfrom
postgres/audit-table

Conversation

@fivetran-jamie
Copy link
Copy Markdown
Contributor

@fivetran-jamie fivetran-jamie commented Apr 1, 2026

PR Overview

Package version introduced in this PR:

  • 2.5.3-a1
  • 2.5.3-a2

This PR addresses the following Issue/Feature(s):

Summary of changes:

  • Tests out removing duplicative JSON parsing and casting

Submission Checklist

  • Alignment meeting with the reviewer (if needed)
    • Timeline and validation requirements discussed
  • Provide validation details:
    • Validation Steps: Check for unintentional effects (e.g., add/run consistency & integrity tests)
image
  • Testing Instructions: Confirm the change addresses the issue(s)
  • Focus Areas: Complex logic or queries that need extra attention
  • Merge any relevant open PRs into this PR

Changelog

  • Draft changelog for PR
  • Final changelog for release review

@fivetran-jamie fivetran-jamie self-assigned this Apr 2, 2026
@@ -0,0 +1,44 @@
{% macro fivetran_log_json_parse_dev(string, string_path) -%}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For testing -- I didn't want to edit the current fivetran_log_json_parse macro directly because this required updates to the other models, and this is a very experimental pre-release that I don't wanna sink too much into

@fivetran-jamie fivetran-jamie marked this pull request as ready for review April 2, 2026 14:27

{% endmacro %}

{% macro redshift__convert_to_json(string) %}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Necessary because Redshift will otherwise inherit Postgres' macro

@fivetran-jamie fivetran-jamie added the docs:ready Triggers the docs generator workflow. label Apr 2, 2026
@fivetran-jamie fivetran-jamie added docs:ready Triggers the docs generator workflow. and removed docs:ready Triggers the docs generator workflow. labels Apr 2, 2026
Copy link
Copy Markdown
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

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

@fivetran-jamie Few comments before approval.

Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@fivetran-avinash fivetran-avinash left a comment

Choose a reason for hiding this comment

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

@fivetran-jamie one other suggestion but it's minor, approved for pre-release.

Co-authored-by: Avinash Kunnath <108772760+fivetran-avinash@users.noreply.github.com>
@fivetran-jamie fivetran-jamie added docs:ready Triggers the docs generator workflow. and removed docs:ready Triggers the docs generator workflow. labels Apr 2, 2026
@fivetran-jamie fivetran-jamie added the pre-release Triggers the auto-releaser workflow. label Apr 2, 2026
@fivetran-jamie fivetran-jamie added docs:ready Triggers the docs generator workflow. and removed docs:ready Triggers the docs generator workflow. pre-release Triggers the auto-releaser workflow. labels Apr 6, 2026
@fivetran-jamie fivetran-jamie added the pre-release Triggers the auto-releaser workflow. label Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs:ready Triggers the docs generator workflow. pre-release Triggers the auto-releaser workflow.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants