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: 

"org.apache.hadoop.hive.ql.metadata.HiveException: at least one column must be specified for the table" non deterministic error in a `insert ... select ... ` clause

jneira
New Contributor III

Hi, first of all thahks for your work in databricks sql.

Unfortunately i am having a problem running insert-selects statements programatically using the jdbc driver.

They all have the form:

`insert into `mytable` select 1, 'foo', moreLiterals`

The statements fails sometimes and i've not found a clear pattern.

Any help would be really appreciated!

2 REPLIES 2

Aviral-Bhardwaj
Esteemed Contributor III

try to check driver logs in the cluster, it will give exact answer

AviralBhardwaj

jneira
New Contributor III

thanks for the suggestion, could tell me more about how to check logs in the cluster?

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