[HUDI-508] Standardizing on "Table" instead of "Dataset" across code (#1197)
- Docs were talking about storage types before, cWiki moved to "Table" - Most of code already has HoodieTable, HoodieTableMetaClient - correct naming - Replacing renaming use of dataset across code/comments - Few usages in comments and use of Spark SQL DataSet remain unscathed
This commit is contained in:
@@ -77,7 +77,7 @@ public class FileSystemViewHandler {
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines if local view of dataset's timeline is behind that of client's view.
|
||||
* Determines if local view of table's timeline is behind that of client's view.
|
||||
*/
|
||||
private boolean isLocalViewBehind(Context ctx) {
|
||||
String basePath = ctx.queryParam(RemoteHoodieTableFileSystemView.BASEPATH_PARAM);
|
||||
@@ -284,9 +284,9 @@ public class FileSystemViewHandler {
|
||||
writeValueAsString(ctx, dtos);
|
||||
}, true));
|
||||
|
||||
app.post(RemoteHoodieTableFileSystemView.REFRESH_DATASET, new ViewHandler(ctx -> {
|
||||
app.post(RemoteHoodieTableFileSystemView.REFRESH_TABLE, new ViewHandler(ctx -> {
|
||||
boolean success = sliceHandler
|
||||
.refreshDataset(ctx.validatedQueryParam(RemoteHoodieTableFileSystemView.BASEPATH_PARAM).getOrThrow());
|
||||
.refreshTable(ctx.validatedQueryParam(RemoteHoodieTableFileSystemView.BASEPATH_PARAM).getOrThrow());
|
||||
writeValueAsString(ctx, success);
|
||||
}, false));
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ public class FileSliceHandler extends Handler {
|
||||
.collect(Collectors.toList());
|
||||
}
|
||||
|
||||
public boolean refreshDataset(String basePath) {
|
||||
public boolean refreshTable(String basePath) {
|
||||
viewManager.clearFileSystemView(basePath);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user