[ https://issues.apache.org/jira/browse/DRILL-2311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336933#comment-14336933 ]
Ramana Inukonda Nagaraj commented on DRILL-2311: ------------------------------------------------ All I see in the logs are {code} 2015-02-25 10:29:00,857 [2b11eb93-0bdd-08e0-5d5b-28dd7259ef94:frag:0:0] WARN o.a.d.e.w.fragment.FragmentExecutor - Error while initializing or executing fragment java.lang.IllegalStateException: Attempted to close accountor with 2 buffer(s) still allocatedfor QueryId: 2b11eb93-0bdd-08e0-5d5b-28dd7259ef94, MajorFragmentId: 0, MinorFragmentId: 0. Total 1 allocation(s) of byte size(s): 4096, at stack location: org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:217) org.apache.drill.exec.vector.UInt1Vector.allocateNewSafe(UInt1Vector.java:137) org.apache.drill.exec.vector.NullableBigIntVector.allocateNewSafe(NullableBigIntVector.java:173) org.apache.drill.exec.vector.complex.impl.SingleMapWriter.bigInt(SingleMapWriter.java:334) org.apache.drill.exec.vector.complex.fn.JsonReader.writeData(JsonReader.java:287) org.apache.drill.exec.vector.complex.fn.JsonReader.writeDataSwitch(JsonReader.java:208) org.apache.drill.exec.vector.complex.fn.JsonReader.writeToVector(JsonReader.java:182) org.apache.drill.exec.vector.complex.fn.JsonReader.write(JsonReader.java:156) org.apache.drill.exec.store.easy.json.JSONRecordReader.next(JSONRecordReader.java:125) org.apache.drill.exec.physical.impl.ScanBatch.next(ScanBatch.java:165) org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:118) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:99) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:89) org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:51) org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:134) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:142) org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:118) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:99) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:89) org.apache.drill.exec.physical.impl.WriterRecordBatch.innerNext(WriterRecordBatch.java:102) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:142) org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:118) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:99) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:89) org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:51) org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:134) org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:142) org.apache.drill.exec.physical.impl.validate.IteratorValidatorBatchIterator.next(IteratorValidatorBatchIterator.java:118) org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:67) org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext(ScreenCreator.java:97) org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:57) org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:115) org.apache.drill.exec.work.WorkManager$RunnableWrapper.run(WorkManager.java:303) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:744) {code} > Create table with same columns of different case results in a > java.lang.IllegalStateException > --------------------------------------------------------------------------------------------- > > Key: DRILL-2311 > URL: https://issues.apache.org/jira/browse/DRILL-2311 > Project: Apache Drill > Issue Type: Bug > Components: SQL Parser > Affects Versions: 0.8.0 > Reporter: Ramana Inukonda Nagaraj > Assignee: Aman Sinha > Priority: Minor > > Doing a create table with same column in different case results in a runtime > exception. This query should fail at planning or parsing. > CREATE TABLE drill_parquet_mulCaseColumns3 as select cast( BIGINT_col as > bigint) BIGINT_col,cast( DECIMAL9_col as decimal) bigint_col FROM > dfs.`/user/root/alltypes.json`; -- This message was sent by Atlassian JIRA (v6.3.4#6332)