Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 1.4
-
None
-
None
Description
[localhost:21000] > create table foo (i int) partitioned by (d Decimal); [localhost:21000] > insert into table foo partition(d=1.0) select 1; Query: insert into table foo partition(d=1.0) select 1 ERROR: AnalysisException: Possible loss of precision for target table 'default.foo'. <-- this is ok (I think) [localhost:21000] > insert into table foo partition(d=cast(1.0 as decimal)) select 1; Query: insert into table foo partition(d=cast(1.0 as decimal)) select 1 Error communicating with impalad: TSocket read 0 bytes <-- dcheck
Stack:
F0520 15:59:53.591024 20815 expr.cc:473] Check failed: false bad GetValue() type: DECIMAL(9, 0) *** Check failure stack trace: *** @ 0x1def93d google::LogMessage::Fail() @ 0x1df20df google::LogMessage::SendToLog() @ 0x1def52b google::LogMessage::Flush() @ 0x1df296d google::LogMessageFatal::~LogMessageFatal() @ 0x1097982 impala::Expr::GetValue() @ 0xeb77fa Java_com_cloudera_impala_service_FeSupport_NativeEvalConstExpr @ 0x7fc1f86f0af9 (unknown)