Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature](multi-catalog)support hms catalog create and drop table/db #30198

Merged
merged 19 commits into from
Feb 27, 2024
Prev Previous commit
Next Next commit
fix ut
  • Loading branch information
wsjz committed Feb 25, 2024
commit 392b0a1827f8fc52edf8855de5bee046adc51b2a
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ public void createDb(CreateDbStmt stmt) throws DdlException {
makeSureInitialized();
if (metadataOps == null) {
LOG.warn("dropDatabase not implemented");
throw new NotImplementedException("dropDatabase not implemented");
return;
}
try {
metadataOps.createDb(stmt);
Expand All @@ -610,7 +610,7 @@ public void dropDb(DropDbStmt stmt) throws DdlException {
makeSureInitialized();
if (metadataOps == null) {
LOG.warn("dropDatabase not implemented");
throw new NotImplementedException("dropDatabase not implemented");
return;
}
try {
metadataOps.dropDb(stmt);
Expand All @@ -625,7 +625,7 @@ public void createTable(CreateTableStmt stmt) throws UserException {
makeSureInitialized();
if (metadataOps == null) {
LOG.warn("createTable not implemented");
throw new NotImplementedException("createTable not implemented");
return;
}
try {
metadataOps.createTable(stmt);
Expand All @@ -640,7 +640,7 @@ public void dropTable(DropTableStmt stmt) throws DdlException {
makeSureInitialized();
if (metadataOps == null) {
LOG.warn("dropTable not implemented");
throw new NotImplementedException("dropTable not implemented");
return;
}
try {
metadataOps.dropTable(stmt);
Expand Down
Loading