-
Notifications
You must be signed in to change notification settings - Fork 8
chore: simplify some Extensions #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe pull request involves removing two implicit classes ( Changes
Possibly related PRs
Suggested Reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🔇 Additional comments (4)spark/src/main/scala/ai/chronon/spark/LabelJoin.scala (2)
Switching from
Using spark/src/main/scala/ai/chronon/spark/JoinUtils.scala (1)
This replacement from spark/src/main/scala/ai/chronon/spark/Join.scala (1)
Using 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
| } | ||
|
|
||
| implicit class InternalRowOps(internalRow: InternalRow) { | ||
| def toRow: Row = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused seems like.
## Summary
- Slim down `Extensions`. Remove some unused methods and use builtins
for the others.
## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified collection conversions between Scala and Java Maps in
multiple Spark utility classes
- Removed two implicit utility classes related to internal row and tuple
handling
- **Chores**
- Updated code to use more idiomatic Scala collection transformations
- Maintained existing functionality while improving code clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary
- Slim down `Extensions`. Remove some unused methods and use builtins
for the others.
## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified collection conversions between Scala and Java Maps in
multiple Spark utility classes
- Removed two implicit utility classes related to internal row and tuple
handling
- **Chores**
- Updated code to use more idiomatic Scala collection transformations
- Maintained existing functionality while improving code clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary
- Slim down `Extensions`. Remove some unused methods and use builtins
for the others.
## Checklist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to track
the status of stacks when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified collection conversions between Scala and Java Maps in
multiple Spark utility classes
- Removed two implicit utility classes related to internal row and tuple
handling
- **Chores**
- Updated code to use more idiomatic Scala collection transformations
- Maintained existing functionality while improving code clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary
- Slim down `Extensions`. Remove some unused methods and use builtins
for the others.
## Cheour clientslist
- [ ] Added Unit Tests
- [ ] Covered by existing CI
- [ ] Integration tested
- [ ] Documentation update
<!-- av pr metadata
This information is embedded by the av CLI when creating PRs to traour clients
the status of staour clientss when using Aviator. Please do not delete or edit
this section of the PR.
```
{"parent":"main","parentHead":"","trunk":"main"}
```
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Simplified collection conversions between Scala and Java Maps in
multiple Spark utility classes
- Removed two implicit utility classes related to internal row and tuple
handling
- **Chores**
- Updated code to use more idiomatic Scala collection transformations
- Maintained existing functionality while improving code clarity
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
Extensions. Remove some unused methods and use builtins for the others.Checklist
Summary by CodeRabbit
Refactor
Chores