在python中通过pyhive创建配置单元连接时,如何解决“编译语句时出错:failed:parseexception”?

h6my8fg2  于 2021-06-25  发布在  Hive
关注(0)|答案(0)|浏览(216)

操作错误:texecutestementresp(状态=tstatus(状态代码=3,infomessages=[“*org.apache.hive.service.cli.hivesqlexception:error while 编译语句:失败:parseexception行1:86外部输入“;”“”附近应为eof:28:27“,”org.apache.hive.service.cli.operation。operation:tosqlexception:操作。java:324','org.apache.hive.service.cli.operation.sqloperation:prepare:sqloperation。java:148','org.apache.hive.service.cli.operation.sqloperation:runinternal:sqloperation。java:228','org.apache.hive.service.cli.operation。operation:run:操作。java:264','org.apache.hive.service.cli.session.hivesessionimpl:executestatementinternal:hivesessionimpl。java:479','org.apache.hive.service.cli.session.hivesessionimpl:executestatement:hivesessionimpl。java:454','sun.reflect.generatedmethodaccessor136:调用::-1','sun.reflect.delegatingmethodacc'essorimpl:invoke:delegatingmethodaccessorimpl。java:43','java.lang.reflect。method:invoke:方法。java:498','org.apache.hive.service.cli.session.hivesessionproxy:invoke:hivesessionproxy。java:78','org.apache.hive.service.cli.session.hivesessionproxy:access$000:hivesessionproxy。java:36','org.apache.hive.service.cli.session.hivesessionproxy$1:run:hivesessionproxy.java:63',java.security.accesscontroller:doprivileged:访问控制器。java:-2','javax.security.auth。subject:doas:主题。java:422','org.apache.hadoop.security.usergroupinformation:doas:usergroupinformation。java:1869','org.apache.hive.service.cli.session.hivesessionproxy:invoke:hivesessionproxy。java:59','com.sun.proxy.$proxy29:executestatement::-1','org.apache.hive.service.cli.cliservice:executestatement:cliservice。java:285','org.apache.hive.service.cli.thrift.thriftcliservice:executestatement:节俭服务。java:510','org.apache.hive.service.cli.thrift.tcliservice$处理器$executestatement:getresult:t仪器。java:1377','org.apache.hive.service.cli.thrift.tcliservice$processor$executestatement:getresult:t仪器。java:1362','org.apache.thrift.processfunction:process:processfunction。java:39','org.apache.thrift.tbase.'processor:process:t基础处理器。java:39','org.apache.hive.service.auth.tsetipaddressprocessor:process:t提示处理器。java:56','org.apache.thrift.server.tthreadpoolserver$工作erprocess:run:t线程池服务器。java:286','java.util.concurrent.threadpoolexecutor:runworker:threadpoolexecutor。java:1142','java.util.concurrent.threadpoolexecutor$worker:run:threadpoolexecutor。java:617','java.lang。thread:run:线程。java:745',“*org.apache.hadoop.hive.ql.parse.parseexception:line 1:86外部输入';'“”附近需要eof:33:6“,”org.apache.hadoop.hive.ql.parse.parsedriver:parse:解析驱动程序。java:222','org.apache.hadoop.hive.ql.parse.parsedriver:parse:解析驱动程序。java:171','org.apache.hadoop.hive.ql。driver:compile:驱动器。java:447','org.apache.hadoop.hive.ql。driver:compile:驱动器。java:330','org.apache.hadoop.hive.ql。driver:compileinternal:驱动器。java:1233','org.apache.hadoop.hive.ql。driver:compileandrespond:驱动器。java:1227','org.apache.hive.service.cli.operation.sqloperation:prepare:sqloperation。java:146'],sqlstate='42000',错误代码=40000,errormessage=“编译语句时出错:失败:parseexception行1:86外部输入';”“”附近应为eof,operationhandle=none)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题