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

fix(wh): Associate session fact with credential dimensions #2787

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

tmessi
Copy link
Member

@tmessi tmessi commented Jan 13, 2023

The wh_upsert_credential_group function was incorrectly attempting to
update the session connection fact table. There are a couple problems
with this:

  1. At the time that this runs, there would be no session connection facts
    for this session.
  2. This function is meant to update the session fact table, there is a
    separate function that associates the credential group with the
    session connection facts.

This also fixes another bug that was causing expired rows of the
credential dimension to be included in the group membership. And finally
it fixes a typo in the function name.

The wh_upsert_credential_group function was incorrectly attempting to
update the session connection fact table. There are a couple problems
with this:

1. At the time that this runs, there would be no session connection facts
   for this session.
2. This function is meant to update the session fact table, there is a
   separate function that associates the credential group with the
   session connection facts.

This also fixes another bug that was causing expired rows of the
credential dimension to be included in the group membership. And finally
it fixes a typo in the function name.
@tmessi tmessi merged commit e2248c1 into main Jan 13, 2023
@tmessi tmessi deleted the tmessi-fix-wh-cred-dim branch January 13, 2023 16:24
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

2 participants