Skip to content
Snippets Groups Projects
Commit b377b035 authored by Kevin (Sangwoo) Kim's avatar Kevin (Sangwoo) Kim Committed by Michael Armbrust
Browse files

[DOCS] Update StructType.scala

The example will throw error like
<console>:20: error: not found: value StructType

Need to add this line:
import org.apache.spark.sql.types._

Author: Kevin (Sangwoo) Kim <sangwookim.me@gmail.com>

Closes #10141 from swkimme/patch-1.
parent d0df2ca4
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ import org.apache.spark.sql.catalyst.util.{DataTypeParser, LegacyTypeStringParse
* Example:
* {{{
* import org.apache.spark.sql._
* import org.apache.spark.sql.types._
*
* val struct =
* StructType(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment