Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19623#discussion_r148133085
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/sources/v2/ReadSupport.java ---
@@ -30,6 +30,8 @@
/**
* Creates a {@link DataSourceV2Reader} to scan the data from this data
source.
*
+ * If this method fails(throw exception), the query fails before
submitting any Spark jobs.
--- End diff --
What is the query you mentioned here? How about?
> If an exception was thrown, we guarantee that no Spark job was submitted.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]