itholic opened a new pull request #34626:
URL: https://github.com/apache/spark/pull/34626


   ### What changes were proposed in this pull request?
   
   This PR proposes adding internal method `_to_spark()` to silence the advice 
log when it's used as an internal purpose.
   
   ### Why are the changes needed?
   
   `to_spark()` without specifying `index_col` parameter is used in many places 
when implementing API, but users might not want to see the every warnings for 
internal usage.
   
   Showing the advice log when only users explicitly use the `to_spark()` 
without specifying `index_col` parameter is enough.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Reduce the advice log for `_to_spark()` without specifying `index_col` 
parameter.
   
   ### How was this patch tested?
   
   Manually check the result


-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to