Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of columns for hashdiff with include/exclude parameters #124

Open
bschlottfeldt opened this issue Sep 13, 2023 Discussed in #108 · 0 comments
Open

List of columns for hashdiff with include/exclude parameters #124

bschlottfeldt opened this issue Sep 13, 2023 Discussed in #108 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bschlottfeldt
Copy link
Contributor

Discussed in #108

Originally posted by marcinsiewiera August 2, 2023
Hi All,

Is there a way to define columns for change hash in stage macro by specifying columns to be excluded rather than listing all columns 1 by 1?
Instead of using

hd_lineitem_n_s:
    is_hashdiff: true
    columns:
        - col1
        - col2
        - col3
        - ....
        - col50
        - ...

exclude business key

    columns:
      - include: '*' 
        exclude:
          - businessKey
          - hashKey
          - changeHash
          - loaddate
          - recordsource
          - ...

Regards,
Marcin

@bschlottfeldt bschlottfeldt added enhancement New feature or request good first issue Good for newcomers labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant