drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-848) sum() over a varchar column hangs sqlline
Date Wed, 28 May 2014 20:19:03 GMT

    [ https://issues.apache.org/jira/browse/DRILL-848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011525#comment-14011525
] 

Chun Chang commented on DRILL-848:
----------------------------------

stack trace:
java.lang.IllegalStateException: Failure while trying to close child allocator: Child level
allocators not closed. Fragment 1:0. Stack trace: 
 		org.apache.drill.exec.ops.OperatorContext.<init>(OperatorContext.java:36)
		org.apache.drill.exec.record.AbstractRecordBatch.<init>(AbstractRecordBatch.java:44)
		org.apache.drill.exec.record.AbstractSingleRecordBatch.<init>(AbstractSingleRecordBatch.java:34)
		org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.<init>(ProjectRecordBatch.java:69)
		org.apache.drill.exec.physical.impl.project.ProjectBatchCreator.getBatch(ProjectBatchCreator.java:36)
		org.apache.drill.exec.physical.impl.project.ProjectBatchCreator.getBatch(ProjectBatchCreator.java:30)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:62)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:39)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitProject(AbstractPhysicalVisitor.java:47)
		org.apache.drill.exec.physical.config.Project.accept(Project.java:53)
		org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:74)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:62)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:39)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitIteratorValidator(AbstractPhysicalVisitor.java:170)
		org.apache.drill.exec.physical.config.IteratorValidator.accept(IteratorValidator.java:41)
		org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:74)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:62)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:39)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitStreamingAggregate(AbstractPhysicalVisitor.java:67)
		org.apache.drill.exec.physical.config.StreamingAggregate.accept(StreamingAggregate.java:60)
		org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:74)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:62)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:39)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitIteratorValidator(AbstractPhysicalVisitor.java:170)
		org.apache.drill.exec.physical.config.IteratorValidator.accept(IteratorValidator.java:41)
		org.apache.drill.exec.physical.impl.ImplCreator.getChildren(ImplCreator.java:74)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:59)
		org.apache.drill.exec.physical.impl.ImplCreator.visitOp(ImplCreator.java:39)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitSender(AbstractPhysicalVisitor.java:77)
		org.apache.drill.exec.physical.base.AbstractPhysicalVisitor.visitSingleSender(AbstractPhysicalVisitor.java:160)
		org.apache.drill.exec.physical.config.SingleSender.accept(SingleSender.java:70)
		org.apache.drill.exec.physical.impl.ImplCreator.getExec(ImplCreator.java:87)
		org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:81)
		java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
		java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
		java.lang.Thread.run(Thread.java:744)

	org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.close(TopLevelAllocator.java:164)
~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.ops.FragmentContext.close(FragmentContext.java:254) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:119) ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_45]
	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
	java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]


> sum() over a varchar column hangs sqlline
> -----------------------------------------
>
>                 Key: DRILL-848
>                 URL: https://issues.apache.org/jira/browse/DRILL-848
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Chun Chang
>
> #Wed May 28 10:41:14 PDT 2014
> git.commit.id.abbrev=01bf849
> If you do a sum over a varchar column, sqlline will hang:
> sqlline version 1.1.6
> 0: jdbc:drill:schema=dfs> select sum(c_groupby) from data;
> here c_groupby is a string column. This is over a parquet file. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message