cloud-fan commented on a change in pull request #34148:
URL: https://github.com/apache/spark/pull/34148#discussion_r731500964
##########
File path:
sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/index/SupportsIndex.java
##########
@@ -38,7 +37,8 @@
* Creates an index.
*
* @param indexName the name of the index to be created
- * @param indexType the IndexType of the index to be created
+ * @param indexType the type of the index to be created. If this is not
specified, Spark
+ * will use empty String.
Review comment:
I think it's better to follow the table provider and treat index type as
a special index property. Then it's easier to indicate when index type is not
specified.
We can do it in a followup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]