Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19623#discussion_r148918617
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/sources/v2/ReadSupport.java ---
@@ -30,6 +30,9 @@
/**
* Creates a {@link DataSourceV2Reader} to scan the data from this data
source.
*
+ * If this method fails (by throwing an exception), the action would
fail and no Spark job was
--- End diff --
no exception is recommended here, you can throw any exception and Spark
will fail your job. This document just describes what will happen if an
exception is thrown, but no exception is expected actually.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]