huaxingao opened a new pull request #33754:
URL: https://github.com/apache/spark/pull/33754


   
   
   ### What changes were proposed in this pull request?
    Add `supportsIndex` interface
   
   
   ### Why are the changes needed?
   Many data sources support index to improvement query performance. In order 
to take advantage of the index support in data source, this `supportsIndex` 
interface is added to let user to create/drop an index, list indexes, etc.
   
   
   ### Does this PR introduce _any_ user-facing change?
   yes, the following new APIs are added:
   
   - createIndex
   - deleteIndex
   - indexExists
   - listIndexes
   - dropIndex
   - restoreIndex
   - refreshIndex
   - alterIndex
   
   
   ### How was this patch tested?
   only interface is added for now. Tests will be added when doing the 
implementation
   


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to