cockroachdb / cockroachdb/activerecord-cockroachdb-adapter

Support explain options

Open
#301 0 comments 0 reactions 0 assignees View on GitHub
rails 7.1
Dominant language
Ruby
Stars
105
Forks
56
Avg merge
9h 5m
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.