cloud-fan commented on code in PR #44567:
URL: https://github.com/apache/spark/pull/44567#discussion_r1440014381
##########
sql/core/src/test/java/test/org/apache/spark/sql/JavaHigherOrderFunctionsSuite.java:
##########
@@ -222,10 +222,10 @@ public void testTransformKeys() throws Exception {
checkAnswer(
mapDf.select(transform_keys(col("x"), (k, v) -> k.plus(v))),
toRows(
- CollectionConverters.MapHasAsScala(new HashMap<Integer,
Integer>() {{
+ CollectionConverters.asScala(new HashMap<Integer, Integer>() {{
Review Comment:
@LuciferYang can you find other similar places and use this proper/simpler
API instead?
--
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]