更新时间:2022-05-08 08:26:32
stmt.executeQuery(query);
您使用了错误的方法.您已经准备好对帐单.准备执行.应该是:
You're using the wrong method. You've already prepared the statement. It is ready to execute. It should be:
stmt.execute();
Hive 2 JDBC PreparedStatement引发错误,无法识别“?"附近的输入'< EOF>' “< EOF>"在表达规范中