Skip to content

Conversation

@IlyaFaer
Copy link
Contributor

@IlyaFaer IlyaFaer commented Mar 19, 2021

The PR is based on another: #24

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 19, 2021
WHERE table_schema = '{}'
""".format(
schema
schema or ""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

By default schema arg is None, so it tried to search for tables with schema 'None'. Not sure how I've written this, it's not smart at all. Fixing it.

answer = ["users", "user_tmp", "email_addresses", "dingalings"]
eq_(table_names, answer)
else:
answer = ["dingalings", "email_addresses", "user_tmp", "users"]
Copy link
Contributor Author

@IlyaFaer IlyaFaer Mar 19, 2021

Choose a reason for hiding this comment

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

user_tmp is a temporary table, adding it into the expected results

@IlyaFaer
Copy link
Contributor Author

IlyaFaer commented Mar 19, 2021

@larkee, this PR fixes two more reflection tests. Still, #24 better be merged first.

Безымянный

@IlyaFaer IlyaFaer requested a review from larkee March 19, 2021 10:35
@IlyaFaer IlyaFaer mentioned this pull request Mar 19, 2021
Copy link
Contributor

@larkee larkee left a comment

Choose a reason for hiding this comment

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

Changes introduced in this PR (i.e. schema name and table name test override) LGTM 👍

Approval pending the base PR

@AVaksman
Copy link
Contributor

AVaksman commented Apr 6, 2021

Merging to unblock further work

@AVaksman AVaksman merged commit f2af0b1 into main Apr 6, 2021
@IlyaFaer IlyaFaer deleted the get_table_names branch April 6, 2021 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants