Skip to content

Commit

Permalink
addess comments
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxingao committed Aug 16, 2021
1 parent b89b321 commit f9f4e37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ public interface SupportsIndex extends CatalogPlugin {
* @throws UnsupportedOperationException If create index is not a supported operation
*/
void createIndex(String indexName,
String indexType,
Identifier table,
FieldReference[] columns,
Map<String, String> properties)
String indexType,
Identifier table,
FieldReference[] columns,
Map<String, String> properties)
throws IndexAlreadyExistsException, UnsupportedOperationException;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ class PartitionsAlreadyExistException(message: String) extends AnalysisException
class FunctionAlreadyExistsException(db: String, func: String)
extends AnalysisException(s"Function '$func' already exists in database '$db'")

class IndexAlreadyExistsException(indexName: String)
extends AnalysisException(s"Index '$indexName' already exists")
class IndexAlreadyExistsException(indexName: String, table: Identifier)
extends AnalysisException(s"Index '$indexName' already exists in table ${table.quoted}")

0 comments on commit f9f4e37

Please sign in to comment.