diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-20 11:37:58 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-20 13:03:06 -0500 |
| commit | cb24bebfab08f55b05599ea1bdcdc159f071225c (patch) | |
| tree | edf06ad6531f5a9745d8d66ca963ba2a0e2bd2c0 /django/db | |
| parent | 283ea9e9e014adf0013c18700c36b98efa2f0aac (diff) | |
Refs #36938 -- Marked a test for union of ordered querysets as an expected failure on Oracle.
Oracle's SQL parser does not allow ORDER BY in components of a union in some
cases, so xfail this test until an exception can be raised.
Diffstat (limited to 'django/db')
| -rw-r--r-- | django/db/backends/oracle/features.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/oracle/features.py b/django/db/backends/oracle/features.py index ea484e336e..39d857be59 100644 --- a/django/db/backends/oracle/features.py +++ b/django/db/backends/oracle/features.py @@ -85,6 +85,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): "annotations.tests.NonAggregateAnnotationTestCase.test_custom_functions", "annotations.tests.NonAggregateAnnotationTestCase." "test_custom_functions_can_ref_other_functions", + # A bug in Django with respect to unioning ordered querysets (#36938). + "queries.test_qs_combinators.QuerySetSetOperationTests." + "test_count_union_with_select_related_in_values", } insert_test_table_with_defaults = ( "INSERT INTO {} VALUES (DEFAULT, DEFAULT, DEFAULT)" |
