Rahul Challapalli created DRILL-5493:
----------------------------------------
Summary: Managed External Sort + CTAS partition by results in
"Unable to allocate sv2 vector" error
Key: DRILL-5493
URL: https://issues.apache.org/jira/browse/DRILL-5493
Project: Apache Drill
Issue Type: Bug
Components: Execution - Relational Operators
Affects Versions: 1.10.0
Reporter: Rahul Challapalli
Assignee: Paul Rogers
Config :
{code}
git.commit.id.abbrev=1e0a14c
No of nodes : 1
DRILL_MAX_DIRECT_MEMORY="32G"
DRILL_MAX_HEAP="4G"
Assertions Enabled : true
{code}
The below query fails during the CTAS phase (the explicit order by in the query
runs fine)
{code}
ALTER SESSION SET `exec.sort.disable_managed` = false;
alter session set `planner.width.max_per_query` = 17;
create table dfs.drillTestDir.xsort_ctas4 partition by (col1) as select
columns[0] as col1 from (select * from
dfs.`/drill/testdata/resource-manager/wide-to-zero` order by columns[0]);
Error: RESOURCE ERROR: Unable to allocate sv2 buffer
Fragment 0:0
[Error Id: 24ae2ec8-ac2a-45c3-b550-43c12764165d on qa-node190.qa.lab:31010]
(state=,code=0)
{code}
I attached the logs and profiles. The data is too large to attach to a jira.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)