cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Salesforce to Databricks

RohitKulkarni
Contributor II

Hello Team,

I am trying to run the salesforce and try to extract the data.AT that time i am facing the below issue :

SOURCE_SYSTEM_NAME = 'Salesforce'

TABLE_NAME = 'XY'

desc = eval("sf." + TABLE_NAME + ".describe()")

print(desc)

for field in desc['fields']:

   #print(field["name"])

   tablesAndColumns = field["type"], field["name"]

   print(tablesAndColumns)

ConnectionError: HTTPSConnectionPool(host='https', port=443): Max retries exceeded with url: /login.salesforce.com/services/data/v52.0/sobjects/Event/describe (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4ecad2bfa0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Regards

Rohit

2 REPLIES 2

Hubert-Dudek
Esteemed Contributor III

Hi, please test the connection outside as maybe you can not connect to the internet (routing not adequately set):

%sh
telnet login.salesforce.com 443

Optionally in databricks, you will find Fivetran in partner connect, and you can also use Fivetran to connect to salesforce.

Vidula
Honored Contributor

Hi @Rohit Kulkarniโ€‹ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group