diff --git a/mssql/features.py b/mssql/features.py index a60a9283..faaa0bbb 100644 --- a/mssql/features.py +++ b/mssql/features.py @@ -6,6 +6,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): + allows_group_by_select_index = False allow_sliced_subqueries_with_in = False can_introspect_autofield = True can_introspect_json_field = False @@ -71,4 +72,4 @@ def introspected_field_types(self): return { **super().introspected_field_types, "DurationField": "BigIntegerField", - } \ No newline at end of file + } diff --git a/testapp/settings.py b/testapp/settings.py index 311e9175..3fb637bb 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -99,8 +99,6 @@ TEST_RUNNER = "testapp.runners.ExcludedTestSuiteRunner" EXCLUDED_TESTS = [ - 'aggregation.tests.AggregateTestCase.test_expression_on_aggregation', - 'aggregation_regress.tests.AggregationTests.test_annotated_conditional_aggregate', 'aggregation_regress.tests.AggregationTests.test_annotation_with_value', 'aggregation.tests.AggregateTestCase.test_distinct_on_aggregate', 'annotations.tests.NonAggregateAnnotationTestCase.test_annotate_exists', @@ -173,9 +171,7 @@ 'expressions.tests.FTimeDeltaTests.test_time_subquery_subtraction', 'migrations.test_operations.OperationTests.test_alter_field_reloads_state_on_fk_with_to_field_target_type_change', 'schema.tests.SchemaTests.test_alter_smallint_pk_to_smallautofield_pk', - 'annotations.tests.NonAggregateAnnotationTestCase.test_combined_expression_annotation_with_aggregation', - 'db_functions.comparison.test_cast.CastTests.test_cast_to_integer', 'db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_func', 'db_functions.datetime.test_extract_trunc.DateFunctionTests.test_extract_iso_weekday_func', 'db_functions.datetime.test_extract_trunc.DateFunctionWithTimeZoneTests.test_extract_func',