**Is your feature request related to a problem? Please describe.** We can improve performance by persisting some additional data. **Describe the solution you would like** . **Component** <!-- If you do not know what components is it leave empty --> - [x] Scala Core Internal - [ ] Scala API - [ ] Spark Connect Plugin - [ ] Infrastructure - [ ] PySpark Classic - [ ] PySpark Connect **Additional context** <!-- Add any other context or screenshots about the feature request here. --> **Are you planning on creating a PR?** <!-- Check the box below with an `x` if you are planning to create a PR for this. --> - [x] I'm willing to make a pull-request