异常Cannot construct instance of `com.facebook.presto.jdbc.internal.client.QueryResults`, problem: s(代

Posted N!CE波

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了异常Cannot construct instance of `com.facebook.presto.jdbc.internal.client.QueryResults`, problem: s(代相关的知识,希望对你有一定的参考价值。

一、异常内容

Caused by: com.facebook.presto.jdbc.internal.jackson.databind.exc.InvalidDefinitionException: 
Cannot construct instance of `com.facebook.presto.jdbc.internal.client.QueryResults`, problem: stats is null

二、解决方式

设置以下下面的session熟悉就可以了

connection.setSessionProperty("enable_hive_syntax","true");

 

以上是关于异常Cannot construct instance of `com.facebook.presto.jdbc.internal.client.QueryResults`, problem: s(代的主要内容,如果未能解决你的问题,请参考以下文章