martin-traverse commented on issue #47353:
URL: https://github.com/apache/arrow/issues/47353#issuecomment-3196151263

   Sorry release I didn't give you a reproducer! Here are the steps.
   
   Set up OIDC from GH Actions to Azure: 
https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure
   
   GH Actions step, ours is like this:
   
         - name: Authenticate to Azure
           if: ${{ inputs.target == 'azure' }}
           uses: azure/login@v2
           with:
             client-id: ${{ secrets.AZURE_CI_CLIENT }}
             tenant-id: ${{ secrets.AZURE_CI_TENANT }}
             subscription-id: ${{ secrets.AZURE_CI_SUBSCRIPTION }}
   
   Now this works with FS Spec
   
       azure_fsspec_args = { "account_name": storage_account }
       azure_fsspec = adlfs.AzureBlobFileSystem(**azure_fsspec_args)
       azure_fs = afs.PyFileSystem(afs.FSSpecHandler(azure_fsspec))
       fs = afs.SubTreeFileSystem(root_path, azure_fs)
       fs.get_file_info(some_path)
   
   But not with Arrow
   
       azure_arrow_args = { "account_name": storage_account }
       azure_fs = afs.AzureFileSystem(**azure_arrow_args)
       fs = afs.SubTreeFileSystem(root_path, azure_fs)
       fs.get_file_info(some_path)


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