LuciferYang opened a new pull request, #37045: URL: https://github.com/apache/spark/pull/37045
### What changes were proposed in this pull request? After SPARK-39638 and SPARK-39231, `ColumnVectorUtils#populate(WritableColumnVector, InternalRow, int)` method in `ColumnVectorUtils` only used by `ConstantColumnVectorBenchmark` and `ColumnVectorSuite`. So this pr do following changes: - Clean up `ColumnVectorUtils#populate(WritableColumnVector, InternalRow, int)` from `ColumnVectorUtils` - Added a simplified version `populate` method for `ConstantColumnVectorBenchmark` - Clean up `SPARK-38018: ColumnVectorUtils.populate to handle CalendarIntervalType correctly` from `ColumnVectorSuite` due this scenario no longer exists, and the similar scenarios using `ConstantColumnVector` have been covered by `fill calendar interval` in `ColumnVectorUtils`. ### Why are the changes needed? Clean up useless code ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Pass GitHub Actions - Execute `ConstantColumnVectorBenchmark` manually with GitHub Actions: https://github.com/LuciferYang/spark/runs/7147111541 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
