// requires binary file generated by pig from TPCH data, also have to disable assert where data is // coming in @Ignore @Test public void testMultipleRowGroupsAndReadsPigError() throws Exception { HashMap<String, FieldInfo> fields = new HashMap<>(); ParquetTestProperties props = new ParquetTestProperties(1, 1500000, DEFAULT_BYTES_PER_PAGE, fields); TestFileGenerator.populatePigTPCHCustomerFields(props); String readEntries = "\"/tmp/tpc-h/customer\""; testParquetFullEngineEventBased( false, false, "/parquet/parquet_scan_screen_read_entry_replace.json", readEntries, "unused, no file is generated", 1, props, QueryType.LOGICAL); fields = new HashMap(); props = new ParquetTestProperties(1, 100000, DEFAULT_BYTES_PER_PAGE, fields); TestFileGenerator.populatePigTPCHSupplierFields(props); readEntries = "\"/tmp/tpc-h/supplier\""; testParquetFullEngineEventBased( false, false, "/parquet/parquet_scan_screen_read_entry_replace.json", readEntries, "unused, no file is generated", 1, props, QueryType.LOGICAL); }
@Ignore @Test public void drill_958bugTest() throws Exception { HashMap<String, FieldInfo> fields = new HashMap<>(); ParquetTestProperties props = new ParquetTestProperties(1, 2880404, DEFAULT_BYTES_PER_PAGE, fields); TestFileGenerator.populatePigTPCHCustomerFields(props); String readEntries = "\"/tmp/store_sales\""; testParquetFullEngineEventBased( false, false, "/parquet/parquet_scan_screen_read_entry_replace.json", readEntries, "unused, no file is generated", 1, props, QueryType.LOGICAL); }