public static DistributedQueryRunner createQueryRunner(TpchTable<?>... tables) throws Exception { return createQueryRunner(ImmutableList.copyOf(tables)); }
public static DistributedQueryRunner createQueryRunner(Iterable<TpchTable<?>> tables, Map<String, String> extraProperties) throws Exception { return createQueryRunner(tables, extraProperties, "sql-standard", ImmutableMap.of()); }
public static DistributedQueryRunner createQueryRunner(Iterable<TpchTable<?>> tables) throws Exception { return createQueryRunner(tables, ImmutableMap.of()); }
public TestShowStats() { super(() -> createQueryRunner(ImmutableList.of())); }
@BeforeClass public void setUp() throws Exception { String path = this.getClass().getResource("security.json").getPath(); queryRunner = createQueryRunner(ImmutableList.of(NATION), ImmutableMap.of(), "file", ImmutableMap.of("security.config-file", path)); }
public TestHiveDistributedAggregations() { super(() -> createQueryRunner(getTables())); } }
public TestHiveDistributedQueries() { super(() -> createQueryRunner(getTables())); }
@SuppressWarnings("unused") public TestHiveIntegrationSmokeTest() { this(() -> createQueryRunner(ORDERS, CUSTOMER), createBucketedSession(), HIVE_CATALOG, new HiveTypeTranslator()); }
public static void main(String[] args) throws Exception { // You need to add "--user user" to your CLI for your queries to work Logging.initialize(); DistributedQueryRunner queryRunner = createQueryRunner(TpchTable.getTables(), ImmutableMap.of("http-server.http.port", "8080")); Thread.sleep(10); Logger log = Logger.get(DistributedQueryRunner.class); log.info("======== SERVER STARTED ========"); log.info("\n====\n%s\n====", queryRunner.getCoordinator().getBaseUrl()); } }
public static DistributedQueryRunner createQueryRunner(Iterable<TpchTable<?>> tables, Map<String, String> extraProperties) throws Exception { return createQueryRunner(tables, extraProperties, "sql-standard", ImmutableMap.of()); }
public static DistributedQueryRunner createQueryRunner(Iterable<TpchTable<?>> tables) throws Exception { return createQueryRunner(tables, ImmutableMap.of()); }
public static DistributedQueryRunner createQueryRunner(TpchTable<?>... tables) throws Exception { return createQueryRunner(ImmutableList.copyOf(tables)); }
public static QueryRunner createQueryRunner(TpchTable<?>... tables) throws Exception { return createQueryRunner(ImmutableList.copyOf(tables)); }
@BeforeClass public void setUp() throws Exception { String path = this.getClass().getResource("security.json").getPath(); queryRunner = createQueryRunner(ImmutableList.of(NATION), ImmutableMap.of(), "file", ImmutableMap.of("security.config-file", path)); }
public TestHiveDistributedAggregations() { super(() -> createQueryRunner(getTables())); } }
public TestHiveIntegrationSmokeTest() throws Exception { super(createQueryRunner(ORDERS), createSampledSession()); }
public TestHiveDistributedQueries() { super(() -> createQueryRunner(getTables())); }
@SuppressWarnings("unused") public TestHiveIntegrationSmokeTest() { this(() -> createQueryRunner(ORDERS, CUSTOMER), createBucketedSession(), HIVE_CATALOG, new HiveTypeTranslator()); }
public TestHiveDistributedQueries() throws Exception { super(createQueryRunner(getTables()), createSampledSession()); }
public static void main(String[] args) throws Exception { // You need to add "--user user" to your CLI for your queries to work Logging.initialize(); DistributedQueryRunner queryRunner = createQueryRunner(TpchTable.getTables(), ImmutableMap.of("http-server.http.port", "8080")); Thread.sleep(10); Logger log = Logger.get(DistributedQueryRunner.class); log.info("======== SERVER STARTED ========"); log.info("\n====\n%s\n====", queryRunner.getCoordinator().getBaseUrl()); } }