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: 

_sqldf not defined

Nickje56
New Contributor

In the release notes of May 2022 it says that we are now able to investigate our SQL results in python in a python notebook. (See also documentation here: Use notebooks - Azure Databricks | Microsoft Docs ) So I created a simple query (select * from mytable Limit 10) where I query on a table on our ADLS in a sql cell. However, when I try to call the results in the next (python) cell, it errors that _sqldf is not defined.

Ideally I would like to create a bunch of SQL scripts and call the results of these scripts in other notebooks, so that our SQL analists can create regular SQL queries, while developers can call these scripts and write their results to the blob storage.

1 ACCEPTED SOLUTION

Accepted Solutions

User16753725469
Contributor II

This feature was delayed and will be rolled out over Databricks platform releases 3.74 through 3.76. you can check the release notes for more info --> https://docs.databricks.com/release-notes/product/2022/may.html

View solution in original post

1 REPLY 1

User16753725469
Contributor II

This feature was delayed and will be rolled out over Databricks platform releases 3.74 through 3.76. you can check the release notes for more info --> https://docs.databricks.com/release-notes/product/2022/may.html

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