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

Add naming convention support when using schema in the metadata. #67

Merged
merged 1 commit into from Feb 5, 2014

Conversation

farvour
Copy link
Contributor

@farvour farvour commented Feb 5, 2014

If the metadata contains a schema, the target_fullname is schema.table.column. Added a check to see if the 3rd element exists to handle this situation.

@eblume
Copy link
Contributor

eblume commented Feb 5, 2014

I'm new to watching this project and so I apologize if this is really obvious, but can you think of a case where this would happen? I'm just curious if this is something that should be caught in automation. Tuple unpacking errors raise a fatal error in Python so I imagine that if this was an existing bug that we might want to increase coverage here.

@zzzeek
Copy link
Owner

zzzeek commented Feb 5, 2014

well you can have schema on table or metadata. I plan on creating a test for this right now before I merge this pull.

@eblume
Copy link
Contributor

eblume commented Feb 5, 2014

Good to know, thanks! And here I was hoping to write one first. ;)

@zzzeek
Copy link
Owner

zzzeek commented Feb 5, 2014

OK well I usually don't have much help and I'm also super-impatient so especially when a feature I just wrote is already broken, I move really fast (I do the GTD philosophy where if it takes less than 2 minutes, do it right now, else things pile up). But I'm actually terrible at running more of a team-based project in this regard, so, if you plan on being around, I need to work at letting you in.

@eblume
Copy link
Contributor

eblume commented Feb 5, 2014

Absolutely! Was meant as a helpful jest and nothing more.

@zzzeek zzzeek merged commit d006198 into zzzeek:rel_0_9 Feb 5, 2014
@zzzeek
Copy link
Owner

zzzeek commented Feb 5, 2014

yeah, but it is a real problem, I've tried to run sprints at pycon and such and often it didn't go too well (tried to get people to help with docs. not fun enough! well ok). the test + changelog I did here is in c5dccd8.

@zzzeek
Copy link
Owner

zzzeek commented Feb 5, 2014

oh and thanks to @farvour !

@farvour
Copy link
Contributor Author

farvour commented Feb 7, 2014

You're welcome. Sorry I didn't have time to get any tests written. I just wanted to be able to use the new feature with schemas! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants