You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like there is an Apache Hive bug which blocks output of !indexes command. The trace is below.
The suggestion is to use current value as default if java.sql.ResultSetMetaData#getColumnDisplaySize fails for any reason
by the way beeline fails in the same way
0: Apache Hive@default>!indexes
Error: Unrecognized column type: SHORT (state=,code=0)
java.sql.SQLException: Unrecognized column type: SHORT
at org.apache.hive.jdbc.JdbcColumn.typeStringToHiveType(JdbcColumn.java:164)
at org.apache.hive.jdbc.HiveResultSetMetaData.getHiveType(HiveResultSetMetaData.java:48)
at org.apache.hive.jdbc.HiveResultSetMetaData.getColumnDisplaySize(HiveResultSetMetaData.java:61)
at sqlline.IncrementalRows.<init>(IncrementalRows.java:47)
at sqlline.SqlLine.print(SqlLine.java:1702)
at sqlline.Commands.metadata(Commands.java:207)
at sqlline.Commands.indexes(Commands.java:364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
at sqlline.SqlLine.dispatch(SqlLine.java:718)
at sqlline.SqlLine.begin(SqlLine.java:539)
at sqlline.SqlLine.start(SqlLine.java:264)
at sqlline.SqlLine.main(SqlLine.java:195)
The text was updated successfully, but these errors were encountered:
It looks like there is an Apache Hive bug which blocks output of
!indexes
command. The trace is below.The suggestion is to use current value as default if
java.sql.ResultSetMetaData#getColumnDisplaySize
fails for any reasonby the way
beeline
fails in the same wayThe text was updated successfully, but these errors were encountered: