Skip to content

Commit

Permalink
fix calcite test
Browse files Browse the repository at this point in the history
  • Loading branch information
cecemei committed Jan 10, 2025
1 parent cbce573 commit 0443967
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
import org.apache.druid.query.policy.RowFilterPolicy;
import org.apache.druid.rpc.indexing.NoopOverlordClient;
import org.apache.druid.rpc.indexing.OverlordClient;
import org.apache.druid.segment.column.ColumnType;
import org.apache.druid.segment.join.JoinableFactory;
import org.apache.druid.segment.join.JoinableFactoryWrapper;
import org.apache.druid.server.DruidNode;
Expand Down Expand Up @@ -139,7 +140,7 @@ public class CalciteTests

public static final String TEST_SUPERUSER_NAME = "testSuperuser";
public static final Policy POLICY_NO_RESTRICTION_SUPERUSER = NoRestrictionPolicy.instance();
public static final Policy POLICY_RESTRICTION = RowFilterPolicy.from(BaseCalciteQueryTest.numericSelector("m1", "6"));
public static final Policy POLICY_RESTRICTION = RowFilterPolicy.from(BaseCalciteQueryTest.equality("m1", 6, ColumnType.LONG));
public static final AuthorizerMapper TEST_AUTHORIZER_MAPPER = new AuthorizerMapper(null)
{
@Override
Expand Down

0 comments on commit 0443967

Please sign in to comment.