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

chris84
by New Contributor
  • 54 Views
  • 2 replies
  • 0 kudos

Attempting to load a JSON file fails due to schema issue (Free Edition)

Hello,I created a Volume named 'test_volume' under catalog:workspace and schema:default.Then I uploaded a file named user_0.json into test_volume (fake data, of course):Now I want to load that file into a data frame.With Python in a notebook:With SQL...

chris84_1-1767792178558.png chris84_0-1767792125532.png chris84_2-1767792435608.png
  • 54 Views
  • 2 replies
  • 0 kudos
Latest Reply
JAHNAVI
Databricks Employee
  • 0 kudos

@chris84 Could try using spark.read .option("multiline", "true").json("volume_path") in pyspark 

  • 0 kudos
1 More Replies
Labels