Skip to content

Commit

Permalink
decoupledIgnore
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Sep 18, 2023
1 parent 3423f6a commit e922c82
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2651,6 +2651,7 @@ public void testGroupByWithSelectProjections()
);
}

@DecoupledIgnore
@Test
public void testGroupByWithSelectAndOrderByProjections()
{
Expand Down Expand Up @@ -2702,6 +2703,7 @@ public void testGroupByWithSelectAndOrderByProjections()
);
}

@DecoupledIgnore
@Test
public void testTopNWithSelectProjections()
{
Expand Down Expand Up @@ -2735,7 +2737,6 @@ public void testTopNWithSelectProjections()
);
}


@Test
public void testTopNWithSelectAndOrderByProjections()
{
Expand Down Expand Up @@ -2834,6 +2835,7 @@ public void testUnionAllQueriesWithLimit()
);
}

@DecoupledIgnore
@Test
public void testUnionAllDifferentTablesWithMapping()
{
Expand Down Expand Up @@ -2877,6 +2879,7 @@ public void testUnionAllDifferentTablesWithMapping()
);
}

@DecoupledIgnore
@Test
public void testJoinUnionAllDifferentTablesWithMapping()
{
Expand Down Expand Up @@ -2987,6 +2990,7 @@ public void testUnionAllTablesColumnTypeMismatchFloatLong()
);
}

@DecoupledIgnore
@Test
public void testUnionAllTablesColumnTypeMismatchStringLong()
{
Expand Down Expand Up @@ -3030,6 +3034,7 @@ public void testUnionIsUnplannable()
);
}

@DecoupledIgnore
@Test
public void testUnionAllTablesWhenCastAndMappingIsRequired()
{
Expand All @@ -3045,6 +3050,7 @@ public void testUnionAllTablesWhenCastAndMappingIsRequired()
);
}

@DecoupledIgnore
@Test
public void testUnionAllSameTableTwice()
{
Expand Down Expand Up @@ -3144,7 +3150,7 @@ public void testUnionAllSameTableTwiceWithDifferentMapping()
"SQL requires union between two tables and column names queried for each table are different Left: [dim1, dim2, m1], Right: [dim2, dim1, m1]."
);
}

@DecoupledIgnore
@Test
public void testUnionAllSameTableThreeTimes()
{
Expand Down Expand Up @@ -4969,7 +4975,7 @@ public void testSimpleAggregations()
new Object[]{6L, 6L, 6L, 1L, 6L, 8L, 4L, 3L, ((1 + 1.7) / 3)}
)
);
}
}@DecoupledIgnore

@Test
public void testGroupByWithSortOnPostAggregationDefault()
Expand Down Expand Up @@ -5044,7 +5050,7 @@ public void testGroupByWithSortOnPostAggregationNoTopNConfig()
)
);
}

@DecoupledIgnore
@Test
public void testGroupByWithSortOnPostAggregationNoTopNContext()
{
Expand Down Expand Up @@ -5702,7 +5708,7 @@ public void testCountStarWithBoundFilterSimplifyOr()
)
);
}

@DecoupledIgnore
@Test
public void testUnplannableTwoExactCountDistincts()
{
Expand Down Expand Up @@ -11744,6 +11750,7 @@ public void testTextcat()
);
}

@DecoupledIgnore
@Test
public void testRequireTimeConditionPositive()
{
Expand Down Expand Up @@ -11946,7 +11953,7 @@ public void testRequireTimeConditionSubQueryNegative()
ImmutableList.of()
);
}

@DecoupledIgnore
@Test
public void testRequireTimeConditionSemiJoinNegative()
{
Expand Down Expand Up @@ -14209,7 +14216,7 @@ public void testComplexDecodeAgg()
)
);
}

@DecoupledIgnore
@Test
public void testOrderByAlongWithInternalScanQuery()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.druid.sql.calcite;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DecoupledIgnore
{

}
Loading

0 comments on commit e922c82

Please sign in to comment.