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: 

Undescriptive error when trying to insert overwrite into a table

cmilligan
Contributor II

I have a query that I'm trying to insert overwrite into a table. In an effort to try and speed up the query I added a range join hint. After adding it I started getting the error below.Screenshot_20230118_104626I can get around this though by creating a temporary view of the same query and caching that temporary view. It will then allow me to insert overwrite into the table.

3 REPLIES 3

Ajay-Pandey
Esteemed Contributor III

Could you please check for the datatype of your source and target table.

There might be mismatch between both.

Ajay Kumar Pandey

Both are the same

jose_gonzalez
Databricks Employee
Databricks Employee

Could you share your code and the full error stack trace please? Check the driver logs for the full stack trace.

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