Github user rdblue commented on a diff in the pull request:
https://github.com/apache/spark/pull/19623#discussion_r148848619
--- 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 --
Are there recommended exceptions to throw? It would be great if this
specified what exception classes implementations should use for problems with
`@throws` javadoc entries. For example, `@throws AnalysisException If ...`.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]