sanjibansg commented on PR #13260:
URL: https://github.com/apache/arrow/pull/13260#issuecomment-1141141604

   > > Might it be that it just needs a rebase to master? It seems there were 
recent fixes to that example -> 
[9a7cc52](https://github.com/apache/arrow/commit/9a7cc522ed8cea106686a4db1eec3236e4842831)
   > 
   > Maybe but I don't think so, the last commit on master 
([f3af2b7](https://github.com/apache/arrow/commit/f3af2b7d9bdcd05244020c9ff5097cdd3a8b2fa6))
 triggered a build for that specific build sphinx and doctest job 
(https://github.com/apache/arrow/runs/6654897048?check_suite_focus=true#step:6:5459)
 and is also failing with the same error:
   > 
   > ```
   > 
   > =================================== FAILURES 
===================================
   > _______________ [doctest] pyarrow._dataset.DirectoryPartitioning 
_______________
   > EXAMPLE LOCATION UNKNOWN, not showing all tests of that example
   > ??? >>> print(partitioning.parse("/2009/11"))
   > Expected:
   >     ((year == 2009) and (month == 11))
   > Got:
   >     (year == 2009)
   > 
   > 
/opt/conda/envs/arrow/lib/python3.9/site-packages/pyarrow/_dataset.cpython-39-x86_64-linux-gnu.so:None:
 DocTestFailure
   > _________________ [doctest] pyarrow._dataset.HivePartitioning 
__________________
   > EXAMPLE LOCATION UNKNOWN, not showing all tests of that example
   > ??? >>> print(partitioning.parse("/year=2009/month=11"))
   > Expected:
   >     ((year == 2009) and (month == 11))
   > Got:
   >     (year == 2009)
   > ```
   
   It maybe because of the changed definition in the `Parse()` method. See the 
changed test case here, 
https://github.com/apache/arrow/commit/adb5b00023bf57122c6de540746008eff2d1ad92#diff-063096b5f67bfb7437c260bf755259ba4251db3ff7e6aca6ff0cb554181b4461R607
   We would need to change the example string for the `Parse()` method 
accordingly.


-- 
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: github-unsubscr...@arrow.apache.org

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

Reply via email to