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

Impyla drop view query is not executed immediately #468

Open
ppiasek opened this issue Aug 11, 2021 · 0 comments
Open

Impyla drop view query is not executed immediately #468

ppiasek opened this issue Aug 11, 2021 · 0 comments

Comments

@ppiasek
Copy link

ppiasek commented Aug 11, 2021

Hello!
I came across an issue, where when I drop a view using impyla, then confirming that view is not available (also using impyla) and right after that create the same view, but with use of subprocess and impala-shell (create view query contains impala-shell custom variables which as far as I know are not supported by impyla), the create query returns error "ERROR: AnalysisException: Table already exists: <view_name>".

When I tested this case using only impyla, so drop view, then immediately create the same view again, it works.

It looks like, even though drop view query is correctly executed (confirmed with "show tables" query), when create view with the same name is executed in separate instance (impala-shell in this case), the view is not dropped at all.

Also, it looks similar to #325 issue.

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

No branches or pull requests

1 participant