You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Joshua Conlin <co...@gmail.com> on 2020/04/16 14:26:29 UTC

[Spark SQL] AnalysisException: cannot resolve '`column_name`' given input columns

 Hello,

I have the following Spark SQL query:

SELECT column_name, * from table_name;

I have multiple spark clusters, this query has been running daily on all of
the clusters.  After a recent redeployment, it fails on just one of the
clusters with the following exception:
AnalysisException: cannot resolve '`column_name`' given input columns

The columns listed after the exception does include the "column_name".  The
data and schema is the same on all clusters.  The query does seem to work
using beeline and has been failing when executed through zeppelin.   I'd
appreciate any insight you can provide.

Thanks,

Josh