@Test public void testGenCreateTableDDL() { String ddl = JoinedFlatTable.generateCreateTableStatement(flatTableDesc, "/tmp"); System.out.println(ddl); System.out.println("The length for the ddl is " + ddl.length()); }
public static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir) { String storageFormat = flatDesc.getSegment().getConfig().getFlatTableStorageFormat(); return generateCreateTableStatement(flatDesc, storageDfsDir, storageFormat); }
JoinedFlatTable { public static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir) { String storageFormat = flatDesc.getSegment().getConfig().getFlatTableStorageFormat(); return generateCreateTableStatement(flatDesc, storageDfsDir, storageFormat); } }
JoinedFlatTable { public static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir) { String storageFormat = flatDesc.getSegment().getConfig().getFlatTableStorageFormat(); return generateCreateTableStatement(flatDesc, storageDfsDir, storageFormat); }  }
JoinedFlatTable { public static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir) { String storageFormat = flatDesc.getSegment().getConfig().getFlatTableStorageFormat(); return generateCreateTableStatement(flatDesc, storageDfsDir, storageFormat); }  static String getTableDir(IJoinedFlatTableDesc flatDesc, String storageDfsDir); static String generateHiveInitStatements(String flatTableDatabase); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir,
            String storageFormat); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir,
            String storageFormat, String fieldDelimiter); static String generateDropTableStatement(IJoinedFlatTableDesc flatDesc); static String generateInsertDataStatement(IJoinedFlatTableDesc flatDesc); static String generateSelectDataStatement(IJoinedFlatTableDesc flatDesc); static String generateSelectDataStatement(IJoinedFlatTableDesc flatDesc, boolean singleLine,
                                                     String[] skipAs, SqlDialect sqlDialect); static String colName(TblColRef col); static String colName(TblColRef col, boolean useAlias); static String generateRedistributeFlatTableStatement(IJoinedFlatTableDesc flatDesc, CubeDesc cubeDesc); static String getQuotedColExpressionInSourceDB(IJoinedFlatTableDesc flatDesc, TblColRef col, SqlDialect sqlDialect); }
JoinedFlatTable { public static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir) { String storageFormat = flatDesc.getSegment().getConfig().getFlatTableStorageFormat(); return generateCreateTableStatement(flatDesc, storageDfsDir, storageFormat); }  static String getTableDir(IJoinedFlatTableDesc flatDesc, String storageDfsDir); static String generateHiveInitStatements(String flatTableDatabase); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir,
            String storageFormat); static String generateCreateTableStatement(IJoinedFlatTableDesc flatDesc, String storageDfsDir,
            String storageFormat, String fieldDelimiter); static String generateDropTableStatement(IJoinedFlatTableDesc flatDesc); static String generateInsertDataStatement(IJoinedFlatTableDesc flatDesc); static String generateSelectDataStatement(IJoinedFlatTableDesc flatDesc); static String generateSelectDataStatement(IJoinedFlatTableDesc flatDesc, boolean singleLine,
                                                     String[] skipAs, SqlDialect sqlDialect); static String colName(TblColRef col); static String colName(TblColRef col, boolean useAlias); static String generateRedistributeFlatTableStatement(IJoinedFlatTableDesc flatDesc, CubeDesc cubeDesc); static String getQuotedColExpressionInSourceDB(IJoinedFlatTableDesc flatDesc, TblColRef col, SqlDialect sqlDialect); static final String TEXTFILE; static final String SEQUENCEFILE; }