You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/07/28 05:23:00 UTC

[jira] [Created] (IMPALA-10829) Memory leak while inserting kudu with rand()

Quanlong Huang created IMPALA-10829:
---------------------------------------

             Summary: Memory leak while inserting kudu with rand()
                 Key: IMPALA-10829
                 URL: https://issues.apache.org/jira/browse/IMPALA-10829
             Project: IMPALA
          Issue Type: Bug
            Reporter: Quanlong Huang


This happens when inserting into a partitioned kudu table:
{code:sql}
[localhost:21050] default> create table my_kudu_tbl (id int, primary key(id)) partition by hash partitions 3 stored as kudu;

[localhost:21050] default> insert into my_kudu_tbl select cast(rand() as int) from functional.alltypestiny;
Query: insert into my_kudu_tbl select cast(rand() as int) from functional.alltypestiny
Query submitted at: 2021-07-28 13:15:57 (Coordinator: http://quanlong-OptiPlex-BJ:25000)
Query progress can be monitored at: http://quanlong-OptiPlex-BJ:25000/query_plan?query_id=da46d70b048eff6d:5b8369eb00000000
WARNINGS: UDF WARNING: Memory leaked via FunctionContext::Allocate()
UDF WARNING: Memory leaked via FunctionContext::Allocate()
UDF WARNING: Memory leaked via FunctionContext::Allocate()
UDF WARNING: Memory leaked via FunctionContext::Allocate()
UDF WARNING: Memory leaked via FunctionContext::Allocate()
UDF WARNING: Memory leaked via FunctionContext::Allocate()
Key already present in Kudu table 'impala::default.my_kudu_tbl'. (1 of 7 similar)

Modified 1 row(s), 7 row error(s) in 4.67s
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)