You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/04/26 07:32:12 UTC

[GitHub] [spark] Yikun opened a new pull request, #36355: [SPARK-38982][PYTHON] Skip categories setter test

Yikun opened a new pull request, #36355:
URL: https://github.com/apache/spark/pull/36355

   ### What changes were proposed in this pull request?
   We added the categories setter since https://github.com/apache/spark/pull/33448 .
   
   But since https://github.com/pandas-dev/pandas/commit/126a19d038b65493729e21ca969fbb58dab9a408, pandas changes behavior, according to https://github.com/pandas-dev/pandas/issues/46820, categories setter is trying to modify an immutable object.
   
   ### Why are the changes needed?
   Make ci passed with pandas 1.4.x
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   test_categories_setter passed with 1.3.X and also 1.4.x


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] HyukjinKwon closed pull request #36355: [SPARK-38982][PYTHON][PS][TESTS] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #36355: [SPARK-38982][PYTHON][PS][TESTS] Skip categories setter test
URL: https://github.com/apache/spark/pull/36355


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] HyukjinKwon commented on pull request #36355: [SPARK-38982][PYTHON][PS][TESTS] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1137107295

   Merged to master.


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] Yikun commented on pull request #36355: [SPARK-38982][PYTHON] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1109564175

   Hold on this until https://github.com/pandas-dev/pandas/issues/46820#issuecomment-1109488861


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] Yikun commented on pull request #36355: [SPARK-38982][PYTHON] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1135372411

   @itholic Now we'd better to only fix test, becasue `categories.setter` will not be completed supported in Pandas, and also some inplace update methods like `set_categories` are deprecated.
   
   So, I suggest only fix test and keep current behavior, then remove this setter support when we remove all deprecated methods.


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] itholic commented on pull request #36355: [SPARK-38982][PYTHON] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
itholic commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1135357556

   Seems like they replied https://github.com/pandas-dev/pandas/issues/46820#issuecomment-1113889315.
   
   Maybe can we just close ?


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] Yikun commented on pull request #36355: [SPARK-38982][PYTHON] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1109480496

   BTW, we added the categories setter since https://github.com/apache/spark/pull/33448 .


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] Yikun commented on pull request #36355: [SPARK-38982][PYTHON] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
Yikun commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1135522194

   @itholic I plus some note on this, and mark it read for review, thanks for reminder!


-- 
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-unsubscribe@spark.apache.org

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


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


[GitHub] [spark] itholic commented on pull request #36355: [SPARK-38982][PYTHON][PS][TESTS] Skip categories setter test

Posted by GitBox <gi...@apache.org>.
itholic commented on PR #36355:
URL: https://github.com/apache/spark/pull/36355#issuecomment-1137006110

   Got it! Looks good.


-- 
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-unsubscribe@spark.apache.org

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


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