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:ย 

Internal Errors in Databricks Queries via Go Library.

Vetrivel
New Contributor III

While executing a query directly from the Databricks editor for the entire table, no errors are observed. However, when querying through the Go library, we encounter an internal error.

Your guidance on this issue would be greatly appreciated.

5 REPLIES 5

gchandra
Databricks Employee
Databricks Employee

Can you share the sample code, error message screenshot, and the number of rows you are trying to load via Go CLI that caused the error? 



~

Vetrivel
New Contributor III

Attached the error screenshot for the same.

gchandra
Databricks Employee
Databricks Employee

Can you share the script and details like the number of rows, etc.? 



~

Vetrivel
New Contributor III

I have attached a sample script (not the exact version but similar logic), and we are attempting to retrieve 150 million rows. Same SQL is working for fetching 1 million rows but fails when we are trying to fetch all rows in table.
Could you please advise on the maximum number of rows that can be retrieved?

michael569gardn
New Contributor III

@Vetrivel wrote:

While executing a query directly from the Databricks editor for the entire table, no errors are observed. However, when querying through the Go library, we encounter an internal error.

Your guidance on this issue would be greatly appreciated.


Hello @Vetrivel floridablue ,
It sounds like a frustrating issue! Since the query works in the Databricks editor but not through the Go library, it might be a configuration or environment issue. Have you tried updating the Go SDK to the latest version and ensuring all dependencies are correctly set up? If the problem persists, consider checking the Databricks community forums or GitHub issues for similar cases.

Best Regards,
Michael Gardner

 

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