uros-b commented on code in PR #58349:
URL: https://github.com/apache/spark/pull/58349#discussion_r3959484818
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala:
##########
@@ -23,11 +23,11 @@ import java.nio.charset.StandardCharsets.UTF_8
import java.sql.{Date, Timestamp}
import java.time.{Duration, Instant, LocalDate, LocalTime, Period}
import java.time.temporal.ChronoField.MICRO_OF_DAY
-import java.util.HashSet
import java.util.Locale
import scala.jdk.CollectionConverters._
+import com.google.common.collect.Sets
Review Comment:
The cited precedent Maps.newHashMapWithExpectedSize is a different class and
is not banned. Scala is not covered by that checkstyle rule, which is why CI
still passed, but it is still the wrong direction.
--
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]