Memory leaks Apache drill CTAS命令中的内存泄漏问题

Memory leaks Apache drill CTAS命令中的内存泄漏问题,memory-leaks,apache-drill,Memory Leaks,Apache Drill,在apache drill中执行CTAS命令时出错。当我仅运行select命令时,查询工作正常,但一旦使用CTAS命令,它就会引发内存泄漏问题 查询: create table dfs.test.`temp_count` (user_count) as select t1.data.userParams.imsId as userParams from s3device.`<file>` t1 limit 1 create table dfs.test.`temp\u count`

在apache drill中执行
CTAS
命令时出错。当我仅运行select命令时,查询工作正常,但一旦使用
CTAS
命令,它就会引发内存泄漏问题

查询:

create table dfs.test.`temp_count` (user_count) as select t1.data.userParams.imsId as userParams from s3device.`<file>` t1 limit 1
create table dfs.test.`temp\u count`(user\u count)作为从s3device选择t1.data.userParams.imsId作为userParams。`t1 limit 1
例外情况:

org.apache.drill.common.exceptions.UserRemoteException:验证错误:架构[dfs.test]中已存在名为[temp_count9]的表或视图。[错误Id:4c54de50-3875-4534-a3bb-c37a96d21ecb on drill prd]


这不是内存泄漏,而是说表已经存在。您可以删除并再次创建表,或者在CTAS中使用其他表名

drop table dfs.test.`temp_count`;
Drill仅支持创建表,不支持插入/更新。每个CTA将在文件系统中创建目录。您可以直接删除目录,也可以使用
drop table
命令删除目录