Skip to content

Commit

Permalink
Enable views in BigQuery tests
Browse files Browse the repository at this point in the history
This is required by
TestBigQueryIntegrationSmokeTest.testCountAggregationView.
  • Loading branch information
losipiuk committed Jan 12, 2021
1 parent 1b68565 commit f689de4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ public static DistributedQueryRunner createQueryRunner(Map<String, String> extra
queryRunner.createCatalog("tpch", "tpch");

queryRunner.installPlugin(new BigQueryPlugin());
queryRunner.createCatalog("bigquery", "bigquery");
queryRunner.createCatalog(
"bigquery",
"bigquery",
ImmutableMap.of("bigquery.views-enabled", "true"));

return queryRunner;
}
Expand Down

0 comments on commit f689de4

Please sign in to comment.