-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
support statement level hints #3206
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
Comments
Michael Bayer (@zzzeek) wrote:
→ f82f6d5 |
Changes by Michael Bayer (@zzzeek):
|
Prabhath Nanisetty wrote: This doesn't seem to work (both The issue is that this function creates the |
Michael Bayer (@zzzeek) wrote: Hi there - with_statement_hint() does not make use of the _setup_select_hints method in the default dialect, it uses the get_statement_hint_text() method. If you are observing a bug, please post an issue with complete test cases which, when run, illustrate a failing assertion (e.g. an mcve. These features are unit tested (see https://bitbucket.org/zzzeek/sqlalchemy/src/ce62fa2eed1d93c9b6e383e48dcfaf5380b86915/test/sql/test_compiler.py?at=master&fileviewer=file-view-default#test_compiler.py-2631 ) so "doesn't seem to work" is unfortunately not specific enough for us to respond. thanks! |
Migrated issue, originally created by Michael Bayer (@zzzeek)
this will send None into with_hint(), which will collect statement-level hints separately and render them by default at the end of the SELECT.
The text was updated successfully, but these errors were encountered: