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

Tickets/dm 1218 #8

Merged
merged 2 commits into from Jan 27, 2015
Merged

Tickets/dm 1218 #8

merged 2 commits into from Jan 27, 2015

Conversation

jdswinbank
Copy link
Contributor

No description provided.

// distiguishing between two cases where the field can't be found:
// - if the alias points to an invalid field, we should throw an exception.
// - if the alias simply isn't defined, we should just reset the slot with invalid keys
class MeasFieldNameGetter {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It might help readability to be more specific about exactly where the throwing, etc, is supposed to happen. Being unfamiliar with the code, I was confused to note that you seemed to be catching and handling exceptions below rather than raising them. Took me a moment to realise where the exception you're referring to here was coming from.

Copy link
Member

Choose a reason for hiding this comment

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

Will do.

Prior to this change, slots were only allowed to be undefined when the
SourceTable is constructed, and removing slot aliases caused an exception
to be thrown.  Now, removing a slot alias simply resets that slot.
@mjuric mjuric merged commit 286e5d9 into master Jan 27, 2015
@ktlim ktlim deleted the tickets/DM-1218 branch August 25, 2018 06:44
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

3 participants