cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

cony2025
by New Contributor II
  • 1272 Views
  • 4 replies
  • 0 kudos

Use Python notebook to read data from Databricks

I'm very new to Databricks. I hope this is the right place to ask this question.I want to use PySpark in a notebook to read data from a Databricks database with the below codes. databricks_host = "adb-xxxx.azuredatabricks.net" http_path = "/sql/1.0/w...

Screenshot 2025-03-04 225915.png Screenshot 2025-03-04 211512.png
  • 1272 Views
  • 4 replies
  • 0 kudos
Latest Reply
dna1
New Contributor II
  • 0 kudos

I would try changing the query to something like the following, it should return the column names in the table so you can see if the jdbc call is actually returning the data correctlySELECT * FROM wphub_poc.gold.v_d_building limit 10 

  • 0 kudos
3 More Replies
Labels