cloud-fan commented on a change in pull request #24012: [SPARK-26811][SQL] Add
capabilities to v2.Table
URL: https://github.com/apache/spark/pull/24012#discussion_r264765864
##########
File path: sql/core/src/main/java/org/apache/spark/sql/sources/v2/Table.java
##########
@@ -45,4 +44,9 @@
* empty schema can be returned here.
*/
StructType schema();
+
+ /**
+ * Returns the set of capabilities for this table.
+ */
+ Set<TableCapability> capabilities();
Review comment:
I don't think we will have tons of capabilities, maybe `Array` is good
enough? `Array` is also more java/scala friendly.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]