Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

SQL Query Failed with Cloudera Hive JDBC driver but works fine in Hue

New Contributor

We have a Hive SQL that runs fine in Hue but when we run that same query via Hive JDBC driver it fails with the below error message,


java.sql.SQLException: [Cloudera][HiveJDBCDriver](500051) ERROR processing query/statement. Error Code: 10009, SQL state: TStatus(statusCode:ERROR_STATUS, infoMessages:[*org.apache.hive.service.cli.HiveSQLException:Error while compiling statement: FAILED: SemanticException [Error 10009]: Line 1:5602 Invalid table alias 'F':17:16,,,,,,,,, org.apache.hive.service.cli.thrift.TCLIService$Processor$, org.apache.hive.service.cli.thrift.TCLIService$Processor$,,, org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$, org.apache.thrift.server.TThreadPoolServer$,, java.util.concurrent.ThreadPoolExecutor$,, *org.apache.hadoop.hive.ql.parse.SemanticException:Line 1:5602 Invalid table alias 'F':36:20, 

Who agreed with this topic