Skip to content

Commit f733dc4

Browse files
committed
Update require.md
1 parent 8e968ba commit f733dc4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/StardustDocs/topics/require.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ require { column }
1414
**Related operations**: [](cast.md), [](convertTo)
1515

1616
```kotlin
17+
// Before `require` extension property will not be resolved
18+
// peopleDf.select { name.firstName }
19+
20+
// Require a column with a runtime check
1721
val df = peopleDf.require { "name"["firstName"]<String>() }
22+
// Use extension property after `require`
1823
val v: String = df.name.firstName[0]
1924
```

0 commit comments

Comments
 (0)