Skip to content

Commit

Permalink
minor changes in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jserranohidalgo committed May 25, 2022
1 parent cd2c0c6 commit bead720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/docs/implicits.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ This is the whole list of column alias:
| `Map[K, V]` | colMap[K: SparkType, V: SparkType] |
| `Map[String, V]` | colMapString[V: SparkType] |

You can check the latest API for each type of column [here](3.0/scala-2.12/api/doric/index.html).
You can check the latest API for each type of column [here](api).

#### Scala Dynamic

We can also write `row.name[Int]` instead of `col[Int]("name")`. In this case, `row` refers to
We can also write `row.name[Int]` instead of `col[Int]("name")`, where `row` refers to
the top-level row of the DataFrame (you can think of it in similar terms to the `this` keyword). This syntax is
particularly appealing when accessing inner fields of struct columns. Thus, we can write `row.person[Row].age[Int]`,
instead of `colStruct("person").getChild[Int]("age")`.
Expand Down

0 comments on commit bead720

Please sign in to comment.