We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22e1849 commit 8df1da3Copy full SHA for 8df1da3
sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala
@@ -401,6 +401,10 @@ class Dataset[T] private[sql](
401
* If the schema of the Dataset does not match the desired `U` type, you can use `select`
402
* along with `alias` or `as` to rearrange or rename as required.
403
*
404
+ * Note that `as[]` only changes the view of the data that is passed into typed operations,
405
+ * such as `map()`, and does not eagerly project away any columns that are not present in
406
+ * the specified class.
407
+ *
408
* @group basic
409
* @since 1.6.0
410
*/
0 commit comments