HyukjinKwon commented on a change in pull request #23266: [SPARK-26313][SQL] 
move `newScanBuilder` from Table to read related mix-in traits
URL: https://github.com/apache/spark/pull/23266#discussion_r241304251
 
 

 ##########
 File path: sql/core/src/main/java/org/apache/spark/sql/sources/v2/Table.java
 ##########
 @@ -43,17 +41,8 @@
   String name();
 
   /**
-   * Returns the schema of this table.
+   * Returns the schema of this table. If the table is not readable and 
doesn't have a schema, an
+   * empty schema can be returned here.
    */
   StructType schema();
 
 Review comment:
   Ahh, I regret that I missed today's meeting. Sounds good to me and that 
exactly addresses my concern.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]

Reply via email to