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

DM-30685: Issue warning if lookup key dimension is not known to universe #534

Merged
merged 2 commits into from Jun 11, 2021

Conversation

timj
Copy link
Member

@timj timj commented Jun 10, 2021

Previously a confusing KeyError would be issued with the unknown key.
Now replace this with a warning message suggesting that there might be a typo
but still continue on without stopping.

This is mainly motivated by the presence of physical_filter in the
fileDatastore file template. Since this is in a default configuration
it affects all users, even those that define their own universe.

DM-26190 may give us the real fix for the fileDatastore problem.

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

Previously a confusing KeyError would be issued with the unknown key.
Now replace this with a warning message suggesting that there might be a typo
but still continue on without stopping.

This is mainly motivated by the presence of physical_filter in the
fileDatastore file template. Since this is in a default configuration
it affects all users, even those that define their own universe.

DM-26190 may give us the real fix for the fileDatastore problem.
@timj timj requested a review from tgoldina June 10, 2021 18:30
Copy link
Contributor

@tgoldina tgoldina left a comment

Choose a reason for hiding this comment

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

Thank you for a quick fix. I've tested it, works for us.

@timj timj merged commit 58f5464 into master Jun 11, 2021
@timj timj deleted the tickets/DM-30685 branch June 11, 2021 17:47
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.

None yet

2 participants