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

Support explain options #301

Open
BuonOmo opened this issue Jan 8, 2024 · 0 comments
Open

Support explain options #301

BuonOmo opened this issue Jan 8, 2024 · 0 comments
Labels
rails 7.1 issue introduced in rails 7.1

Comments

@BuonOmo
Copy link
Collaborator

BuonOmo commented Jan 8, 2024

Since rails 7.1, explain can take options. The issue is that both the name of options and the formatting is different between postgres and cockroach.

https://www.cockroachlabs.com/docs/stable/explain-analyze

As of now we do not support explain analyze either due to how the code was adjusted to fit PG behaviour in 7.1.

See tests:

  • test_explain_options_with_eager_loading
  • test_explain_with_options_as_symbols
  • test_explain_with_options_as_strings
@BuonOmo BuonOmo added the rails 7.1 issue introduced in rails 7.1 label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rails 7.1 issue introduced in rails 7.1
Projects
None yet
Development

No branches or pull requests

1 participant