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 support 1.8 #31

Merged
merged 10 commits into from
Dec 16, 2024
Merged

Add support 1.8 #31

merged 10 commits into from
Dec 16, 2024

Conversation

okramarenko
Copy link
Contributor

Comment on lines 138 to 142
{% set table_exists_query %}
select count(*)
from information_schema.tables
where table_schema = '{{ relation.database }}'
and table_name = '{{ relation.identifier }}'
Copy link
Contributor

@pmishchenko-ua pmishchenko-ua Dec 16, 2024

Choose a reason for hiding this comment

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

can we replace this by show tables from db like 'table'? information_schemaqueries can be pretty expensive when there are a lot of tables/columns.

@okramarenko okramarenko merged commit b426d61 into master Dec 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants