File tree Expand file tree Collapse file tree
java/org/apache/spark/sql/connector/catalog/index
scala/org/apache/spark/sql/catalyst/analysis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ public interface SupportsIndex extends CatalogPlugin {
4848 * @throws UnsupportedOperationException If create index is not a supported operation
4949 */
5050 void createIndex (String indexName ,
51- String indexType ,
52- Identifier table ,
53- FieldReference [] columns ,
54- Map <String , String > properties )
51+ String indexType ,
52+ Identifier table ,
53+ FieldReference [] columns ,
54+ Map <String , String > properties )
5555 throws IndexAlreadyExistsException , UnsupportedOperationException ;
5656
5757 /**
Original file line number Diff line number Diff line change @@ -79,5 +79,5 @@ class PartitionsAlreadyExistException(message: String) extends AnalysisException
7979class FunctionAlreadyExistsException (db : String , func : String )
8080 extends AnalysisException (s " Function ' $func' already exists in database ' $db' " )
8181
82- class IndexAlreadyExistsException (indexName : String )
83- extends AnalysisException (s " Index ' $indexName' already exists " )
82+ class IndexAlreadyExistsException (indexName : String , table : Identifier )
83+ extends AnalysisException (s " Index ' $indexName' already exists in table ${table.quoted} " )
You can’t perform that action at this time.
0 commit comments