Skip to content

Fix 'TableClause' object has no attribute 'dialect_options' #240

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

Merged
merged 1 commit into from
Sep 27, 2022

Conversation

mdesmet
Copy link
Contributor

@mdesmet mdesmet commented Sep 22, 2022

Fixes #237

Release notes

( ) This is not user-visible and no release notes are required.
( ) Release notes are required, please propose a release note for me.
(x) Release notes are required, with the following suggested text:

Resolved 'TableClause' object has no attribute 'dialect_options' exception by checking for DialectKWArgs implementation.

Copy link
Member

@laserkaplan laserkaplan left a comment

Choose a reason for hiding this comment

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

LGTM. Much cleaner implementation. Thanks, and sorry I missed this in the initial tests!

@mdesmet mdesmet requested a review from hashhar September 23, 2022 16:39
@mdesmet
Copy link
Contributor Author

mdesmet commented Sep 23, 2022

@hashhar: PTAL. It should fix an exception being thrown in Superset.

Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

(x) This is not user-visible and no release notes are required.

It would be better to mention in a release note in my opinion.

@mdesmet mdesmet force-pushed the bug/sql-alchemy-tableclause branch from b1d13a8 to 9a1a57e Compare September 27, 2022 10:44
@mdesmet
Copy link
Contributor Author

mdesmet commented Sep 27, 2022

@ebyhr : PTAL, test has been added.

@ebyhr ebyhr merged commit efb6680 into trinodb:master Sep 27, 2022
@ebyhr
Copy link
Member

ebyhr commented Sep 27, 2022

Merged, thanks!

@hashhar hashhar mentioned this pull request Oct 1, 2022
@georgewfisher
Copy link

Should there be a PR to update Superset to require a minimum of 0.317.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Exception 'TableClause' object has no attribute 'dialect_options' in Apache superset
5 participants