Fix `DataRow[column]` when column instance differs from row schema
Open
bug
- Dominant language
- Kotlin
- Stars
- 1.1k
- Forks
- 83
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 30
Description
### Problem
`DataRow[column]` behaves incorrectly when the provided `DataColumn` instance does not belong to the same schema as the row, even if a column with the same name exists.
This happens for example in `groupBy`, where:
- `df.x` (from the original DataFrame)
- `x` inside `groupBy`
represent different column instances.
As a result:
`key[df.x]` returns an incorrect value
instead of resolving the column by name.
Contributor guide
Assessment
This issue has not been assessed yet.