kettle连接hive成功 但是查询失败

hive sql 语句 select * from shuju 版本 kettle 6.1 hive 2.0.0 活着hive1.2.1 都不行
错误信息如下:

org.pentaho.di.core.exception.KettleDatabaseException:
An error occurred executing SQL:
select * from shuju

Error determining value metadata from SQL resultset metadata
Method not supported

at org.pentaho.di.core.database.Database.openQuery(Database.java:1718)
at org.pentaho.di.core.database.Database.getRows(Database.java:3398)
at org.pentaho.di.core.database.Database.getRows(Database.java:3376)
at org.pentaho.di.core.database.Database.getRows(Database.java:3361)
at org.pentaho.di.ui.core.database.dialog.SQLEditor.exec(SQLEditor.java:372)
at org.pentaho.di.ui.core.database.dialog.SQLEditor.access$200(SQLEditor.java:81)
at org.pentaho.di.ui.core.database.dialog.SQLEditor$7.handleEvent(SQLEditor.java:242)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1347)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7989)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9269)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Error determining value metadata from SQL resultset metadata
Method not supported

at org.pentaho.di.core.row.value.ValueMetaBase.getValueFromSQLType(ValueMetaBase.java:4588)
at org.pentaho.di.core.database.Database.getValueFromSQLType(Database.java:2267)
at org.pentaho.di.core.database.Database.getRowInfo(Database.java:2229)
at org.pentaho.di.core.database.Database.openQuery(Database.java:1714)
... 19 more

Caused by: java.sql.SQLException: Method not supported
at org.apache.hive.jdbc.HiveResultSetMetaData.isSigned(HiveResultSetMetaData.java:143)
at org.pentaho.di.core.row.value.ValueMetaBase.getValueFromSQLType(ValueMetaBase.java:4355)
... 22 more

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐