baibaichen commented on code in PR #11342:
URL: 
https://github.com/apache/incubator-gluten/pull/11342#discussion_r2652117895


##########
gluten-iceberg/src/main/scala/org/apache/iceberg/spark/source/GlutenIcebergSourceUtil.scala:
##########
@@ -50,6 +51,7 @@ object GlutenIcebergSourceUtil {
     }
   }
 
+  @nowarn

Review Comment:
   > As the comment indicates, please use location
   > 
   > ```
   >   /**
   >    * Returns fully qualified path to the file, suitable for constructing a 
Hadoop Path.
   >    *
   >    * @deprecated since 1.7.0, will be removed in 2.0.0; use {@link 
#location()} instead.
   >    */
   >   @Deprecated
   >   CharSequence path();
   > 
   >   /** Return the fully qualified path to the file. */
   >   default String location() {
   >     return path().toString();
   >   }
   > ```
   
   No, `location` doesn't work in profiles in Spark 3.3 and earlier.
   



-- 
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]

Reply via email to