cool-examples/load-parquet/src/main/java/com/nus/cool/example/Main.java
public static void main(String[] args) {
    String cube = args[0];
    String schemaFileName = args[1];
    File schemaFile = new File(schemaFileName);
    File dimensionFile = new File(args[2]);
    try {
      File dataFile = new File(args[3]);
      String cubeRepo = args[4];
      TableSchema schema = TableSchema.read(
        new FileInputStream(schemaFile));
      Path outputCubeVersionDir = Paths.get(cubeRepo, cube, "v1"); 
      Files.createDirectories(outputCubeVersionDir);
      File outputDir = outputCubeVersionDir.toFile();
      DataLoaderConfig config =
      new ParquetDataLoaderConfig();
      DataLoader loader = DataLoader.builder(cube, schema,
        dimensionFile, dataFile, outputDir, config).build();
      loader.load();
      Files.copy(Paths.get(schemaFileName), 
        Paths.get(cubeRepo, cube, "table.yaml"), 
        StandardCopyOption.REPLACE_EXISTING);
    } catch (IOException e) {
      System.out.println("Failed to load data");
      return;
    }
    System.out.println("Data loaded");
  }
/**
   * Please list the sogamo dataset files, because we are generating
   *  a sample parquet file for testing according to that dataset,  
   * @param args there are five arguments. List in input order
   *  (1) output cube name: to be specified when loading from the repository
   *  (2) table.yaml (3) dimension.csv (4) data.csv (5) output cube repository 
   * @throws IOException
   */
Please list the sogamo dataset files, because we are generating
a sample parquet file for testing according to that dataset,
@param args there are five arguments. List in input order
(1) output cube name: to be specified when loading from the repository
(2) table.yaml (3) dimension.csv (4) data.csv (5) output cube repository
@throws IOException
Please list the sogamo dataset files because we are generating a sample parquet file for testing according to that dataset @param args there are five arguments . List in input order ( 1 ) output cube name : to be specified when loading from the repository ( 2 ) table . yaml ( 3 ) dimension . csv ( 4 ) data . csv ( 5 ) output cube repository @throws IOException
public static void main(String[] args) {
    String cube = args[0];
    String schemaFileName = args[1];
    File schemaFile = new File(schemaFileName);
    File dimensionFile = new File(args[2]);
    try {
      File dataFile = new File(args[3]);
      String cubeRepo = args[4];
      TableSchema schema = TableSchema.read(
        new FileInputStream(schemaFile));
      Path outputCubeVersionDir = Paths.get(cubeRepo, cube, "v1"); 
      Files.createDirectories(outputCubeVersionDir);
      File outputDir = outputCubeVersionDir.toFile();
      DataLoaderConfig config =
      new ParquetDataLoaderConfig();
      DataLoader loader = DataLoader.builder(cube, schema,
        dimensionFile, dataFile, outputDir, config).build();
      loader.load();
      Files.copy(Paths.get(schemaFileName), 
        Paths.get(cubeRepo, cube, "table.yaml"), 
        StandardCopyOption.REPLACE_EXISTING);
    } catch (IOException e) {
      System.out.println("Failed to load data");
      return;
    }
    System.out.println("Data loaded");
  }
public static void main ( String [ ] args ) { String cube = args [ 0 ] ; String schemaFileName = args [ 1 ] ; File schemaFile = new File ( schemaFileName ) ; File dimensionFile = new File ( args [ 2 ] ) ; try { File dataFile = new File ( args [ 3 ] ) ; String cubeRepo = args [ 4 ] ; TableSchema schema = TableSchema . read ( new FileInputStream ( schemaFile ) ) ; Path outputCubeVersionDir = Paths . get ( cubeRepo , cube , "v1" ) ; Files . createDirectories ( outputCubeVersionDir ) ; File outputDir = outputCubeVersionDir . toFile ( ) ; DataLoaderConfig config = new ParquetDataLoaderConfig ( ) ; DataLoader loader = DataLoader . builder ( cube , schema , dimensionFile , dataFile , outputDir , config ) . build ( ) ; loader . load ( ) ; Files . copy ( Paths . get ( schemaFileName ) , Paths . get ( cubeRepo , cube , "table.yaml" ) , StandardCopyOption . REPLACE_EXISTING ) ; } catch ( IOException e ) { System . out . println ( "Failed to load data" ) ; return ; } System . out . println ( "Data loaded" ) ; }
Please list the sogamo dataset files, because we are generating
  a sample parquet file for testing according to that dataset,
 @param args there are five arguments.
Please list the sogamo dataset files because we are generating a sample parquet file for testing according to that dataset @param args there are five arguments .