@Test public void testHappyIngest2() { String srcPath = Thread.currentThread().getContextClassLoader().getResource("benchmark_meta.zip").getPath(); CubeMetaIngester.main(new String[] { "-project", "default", "-srcPath", srcPath, "-overwriteTables", "true" }); ProjectInstance project = ProjectManager.getInstance(KylinConfig.getInstanceFromEnv()).getProject("default"); Assert.assertEquals(1, Collections.frequency(project.getTables(), "SSB.CUSTOMER")); Assert.assertTrue(project.getModels().contains("benchmark_model")); Assert.assertTrue(project.getRealizationEntries().contains(RealizationEntry.create(RealizationType.CUBE, "benchmark_cube"))); getTestConfig().clearManagers(); CubeInstance instance = CubeManager.getInstance(KylinConfig.getInstanceFromEnv()).getCube("benchmark_cube"); Assert.assertTrue(instance != null); }
public static void main(String[] args) { CubeMetaIngester extractor = new CubeMetaIngester(); extractor.execute(args); }
CubeMetaIngester extends AbstractApplication { public static void main(String[] args) { CubeMetaIngester extractor = new CubeMetaIngester(); extractor.execute(args); } }
CubeMetaIngester extends AbstractApplication { public static void main(String[] args) { CubeMetaIngester extractor = new CubeMetaIngester(); extractor.execute(args); }  }
CubeMetaIngester extends AbstractApplication { public static void main(String[] args) { CubeMetaIngester extractor = new CubeMetaIngester(); extractor.execute(args); }  static void main(String[] args); }
CubeMetaIngester extends AbstractApplication { public static void main(String[] args) { CubeMetaIngester extractor = new CubeMetaIngester(); extractor.execute(args); }  static void main(String[] args);  }