Synapse Workspace Notebooks - Upload files to sparkpools for google api credentials

Ana Del Campo 26 Reputation points Microsoft Employee
2020-11-12T15:09:08.453+00:00

I am working with Synapse Workspace Notebooks to import information from google API's. I need to upload credential files to the local directories on the synapse spark pools, I have not been able to figure out how to do that

Uploading to azure storage and pointing the files from there won't when using google python provided libraries look at the local computer storage.

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.


2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. David Browne - msft 3,856 Reputation points
    2020-11-13T21:47:41.57+00:00

    You can use the normal python file APIs to interact with the actual filesystem on the node running the python code (the driver usually, but could be a worker if you are using a python UDF).

    You may not be able to write a file to the location you need due to file permissions.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.