ion-elgreco commented on issue #5517:
URL: https://github.com/apache/arrow-rs/issues/5517#issuecomment-2016743606

   @RobinLin666  It doesn't reset for me, but it also doesn't work in general..
   
   ```python
   import pandas as pd
   from deltalake import DeltaTable, write_deltalake
   df = pd.DataFrame({"id":[1,2], "value": ["foo", "boo"]})
   
   !echo $SSL_CERT_DIR
   !echo $SSL_CERT_FILE
   !echo $REQUESTS_CA_BUNDLE
   
   try:
       write_deltalake(
           
"abfss://<redacted>@onelake.dfs.fabric.microsoft.com/<redacted>/Tables/new_delta",
 
           df, 
           mode='overwrite',
           storage_options={"bearer_token": 
mssparkutils.credentials.getToken("storage"),"use_fabric_endpoint": "true"} )
   except Exception as e:
       print(e)
       pass
   
   !echo $SSL_CERT_DIR
   !echo $SSL_CERT_FILE
   !echo $REQUESTS_CA_BUNDLE
   ```
   
   ```
   /etc/pki/ca-trust/extracted/openssl:/opt/olcclient
   
   /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
   
   Generic MicrosoftAzure error: Error after 10 retries in 3.226602633s, 
max_retries:10, retry_timeout:180s, source:error sending request for url 
(https://onelake.blob.fabric.microsoft.com/<redacted>/<redacted>/Tables/new_delta/_delta_log/_last_checkpoint):
 error trying to connect: invalid peer certificate: UnknownIssuer
   
   /etc/pki/ca-trust/extracted/openssl:/opt/olcclient
   
   /etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
   ```
   


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

Reply via email to