Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/2336#discussion_r191825493 --- Diff: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReader.java --- @@ -88,6 +90,20 @@ public static CarbonReaderBuilder builder(String tablePath, String tableName) { return new CarbonReaderBuilder(tablePath, tableName); } + /** + * Return a new {@link CarbonReaderBuilder} instance + * Default value of table name is table + time + * + * @param tablePath table path + * @return CarbonReaderBuilder object + */ + public static CarbonReaderBuilder builder(String tablePath) { + String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(new Date()); + String uniqueName = "table" + time; --- End diff -- can you get the substring of `tablePath` and append with time
---