Thomas Rebele created HIVE-29431:
------------------------------------
Summary: "RuntimeException: invalid table size" for DESCRIBE
FORMATTED
Key: HIVE-29431
URL: https://issues.apache.org/jira/browse/HIVE-29431
Project: Hive
Issue Type: Bug
Reporter: Thomas Rebele
The following qfile (inspired by HIVE-28406, but without setting any property)
fails with an exception:
{code:java}
create table testq(tz timestamp with local time zone DEFAULT
TIMESTAMPLOCALTZ'2016-01-03 12:26:34 America/Los_Angeles' );
analyze table testq compute statistics for columns tz;
DESCRIBE FORMATTED testq tz; {code}
The exception was:
{code:java}
java.lang.AssertionError:
Client execution failed with error code = 40000
running
DESCRIBE FORMATTED testq tz
fname=stats_histogram_ltz.qSee ./ql/target/tmp/log/hive.log or
./itests/qtest/target/tmp/log/hive.log, or check ./ql/target/surefire-reports
or ./itests/qtest/target/surefire-reports/ for specific test cases logs.
java.lang.RuntimeException: invalid table size
at
org.apache.hadoop.hive.ql.ddl.ShowUtils$TextMetaDataTable.transpose(ShowUtils.java:478)
at
org.apache.hadoop.hive.ql.ddl.table.info.desc.formatter.TextDescTableFormatter.addStatsData(TextDescTableFormatter.java:151)
at
org.apache.hadoop.hive.ql.ddl.table.info.desc.formatter.TextDescTableFormatter.describeTable(TextDescTableFormatter.java:91)
at
org.apache.hadoop.hive.ql.ddl.table.info.desc.DescTableOperation.execute(DescTableOperation.java:105)
at org.apache.hadoop.hive.ql.ddl.DDLTask.execute(DDLTask.java:84)
at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:214)
at
org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:105)
at org.apache.hadoop.hive.ql.Executor.launchTask(Executor.java:354)
at org.apache.hadoop.hive.ql.Executor.launchTasks(Executor.java:327)
at org.apache.hadoop.hive.ql.Executor.runTasks(Executor.java:244)
at org.apache.hadoop.hive.ql.Executor.execute(Executor.java:105)
at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:345)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:189)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:142)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:137)
at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:190)
at org.apache.hadoop.hive.ql.reexec.ReExecDriver.run(ReExecDriver.java:235)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259)
at org.apache.hadoop.hive.cli.CliDriver.processCmd1(CliDriver.java:203)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:129)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:430)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:358)
at
org.apache.hadoop.hive.ql.QTestUtil.executeClientInternal(QTestUtil.java:760)
at org.apache.hadoop.hive.ql.QTestUtil.executeClient(QTestUtil.java:730)
at
org.apache.hadoop.hive.cli.control.CoreCliDriver.runTest(CoreCliDriver.java:115)
at
org.apache.hadoop.hive.cli.control.CliAdapter.runTest(CliAdapter.java:139)
at
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver(TestMiniLlapLocalCliDriver.java:62)
...{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)