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

vdk-impala: unify names of templates betwen trino and impala #787

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

antoniivanov
Copy link
Collaborator

The "load/dimension/scd2" is simple implementation of SCD2 which is less
optimial and flexible than "load/versioned" which is the recommendd one
to use.

The "versioned" template correspond to scd2 in vdk-trino plugin for
example (vdk-trino/src/vdk/plugin/trino/templates/load/dimension/scd2) .
And there there's no scd2_simple implementation at all.

So this PR is changing the name of "load/dimension/scd2" to
"scd2_simple", It's keeping an alias (alternative) name of
"load/dimension/scd2" for backwards compatible reasons.

It's also setting as main name of load/versioned to be "scd2" (which is
the one used in vdk-trino)

Also in vdk-trino Periodic snapshot template is called
"periodic_snapshot" so renaming it to match.

Testing Done: automated tests

Signed-off-by: Antoni Ivanov aivanov@vmware.com

The "load/dimension/scd2" is simple implementation of SCD2 which is less
optimial and flexible than "load/versioned" which is the recommendd one
to use.

The "versioned" template correspond to scd2 in vdk-trino plugin for
example (vdk-trino/src/vdk/plugin/trino/templates/load/dimension/scd2) .
And there there's no scd2_simple implementation at all.

So this PR is changing the name of "load/dimension/scd2" to
"scd2_simple", It's keeping an alias (alternative) name of
"load/dimension/scd2" for backwards compatible reasons.

It's also setting as main name of load/versioned to be "scd2" (which is
the one used in vdk-trino)

Also in vdk-trino Periodic snapshot template is called
"periodic_snapshot" so renaming it to match.

Testing Done: automated tests

Signed-off-by: Antoni Ivanov <aivanov@vmware.com>
@antoniivanov antoniivanov merged commit 391480e into main Apr 6, 2022
@antoniivanov antoniivanov deleted the person/aivanov/vdk-impala branch April 6, 2022 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants