Github user marmbrus commented on a diff in the pull request:
https://github.com/apache/spark/pull/8903#discussion_r40386778
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala ---
@@ -225,14 +225,26 @@ abstract class BaseRelation {
* java.lang.String -> UTF8String
* java.lang.Decimal -> Decimal
*
- * If `needConversion` is `false`, buildScan() should return an [[RDD]]
of [[InternalRow]]
*
* Note: The internal representation is not stable across releases and
thus data sources outside
* of Spark SQL should leave this as true.
*
- * @since 1.4.0
+ * @since 1.5.0
+ */
+ def inputNeedConversion: Boolean = true
+
+ /**
+ * Whether does it need to convert scan results to [[Row]] instead of
[[InternalRow]].
--- End diff --
`Indicates if the results of a scan need to be converted from a [[Row]] to
an [[InternalRow]]`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]