andersbogsnes opened a new pull request, #2221:
URL: https://github.com/apache/iceberg-python/pull/2221

   Added a NotInstalledException check when pyiceberg_core is imported for 
pyarrow_transforms This will raise a helpful error message when endusers try to 
use methods that depend on pyiceberg_core but haven't installed the optional 
dependency
   
   <!--
   Thanks for opening a pull request!
   -->
   
   Closes #1987 
   
   # Rationale for this change
   If an enduser hasn't installed the `pyiceberg_core` optional dependency, 
using pyarrow transforms will crash with an unhelpful error. This PR gives the 
enduser a nicer error message that informs them to install the optional 
dependency
   
   # Are these changes tested?
   Yes, a test was added to verify the behaviour
   
   # Are there any user-facing changes?
   
   <!-- In the case of user-facing changes, please add the changelog label. -->
   


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