[ https://issues.apache.org/jira/browse/HIVE-22473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971255#comment-16971255 ]
Hive QA commented on HIVE-22473: -------------------------------- | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 9m 2s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 6s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 44s{color} | {color:green} master passed {color} | | {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue} 4m 4s{color} | {color:blue} ql in master has 1550 extant Findbugs warnings. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 1s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 1m 32s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 1m 7s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 1m 7s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 43s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 4m 14s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 1m 1s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 14s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 25m 17s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc findbugs checkstyle compile | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-19373/dev-support/hive-personality.sh | | git revision | master / a304e3c | | Default Java | 1.8.0_111 | | findbugs | v3.0.1 | | modules | C: ql U: ql | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-19373/yetus.txt | | Powered by | Apache Yetus http://yetus.apache.org | This message was automatically generated. > Avoid reading table as ACID when table name is starting with "delta", but > table is not transactional > ---------------------------------------------------------------------------------------------------- > > Key: HIVE-22473 > URL: https://issues.apache.org/jira/browse/HIVE-22473 > Project: Hive > Issue Type: Bug > Components: Hive > Reporter: Laszlo Pinter > Assignee: Laszlo Pinter > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-22473.01.patch, HIVE-22473.02.patch, > HIVE-22473.03.patch, HIVE-22473.04.patch > > > {code:sql} > create table delta_result (a int) stored as orc > tblproperties('transactional'='false'); > insert into delta_result select 1; > select * from delta_result; > {code} > The above query will result in the following exception: > 2019-11-08T13:49:05,780 WARN [HiveServer2-Handler-Pool: Thread-7906] > thrift.ThriftCLIService: Error fetching results:2019-11-08T13:49:05,780 WARN > [HiveServer2-Handler-Pool: Thread-7906] thrift.ThriftCLIService: Error > fetching results:org.apache.hive.service.cli.HiveSQLException: > java.io.IOException: java.lang.RuntimeException: ORC split generation failed > with exception: java.lang.StringIndexOutOfBoundsException: String index out > of range: -1 at > org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:481) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.operation.OperationManager.getOperationNextRowSet(OperationManager.java:331) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.session.HiveSessionImpl.fetchResults(HiveSessionImpl.java:946) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.CLIService.fetchResults(CLIService.java:567) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.thrift.ThriftCLIService.FetchResults(ThriftCLIService.java:801) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.rpc.thrift.TCLIService$Processor$FetchResults.getResult(TCLIService.java:1837) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.rpc.thrift.TCLIService$Processor$FetchResults.getResult(TCLIService.java:1822) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > ~[?:1.8.0_211] at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > ~[?:1.8.0_211] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]Caused > by: java.io.IOException: java.lang.RuntimeException: ORC split generation > failed with exception: java.lang.StringIndexOutOfBoundsException: String > index out of range: -1 at > org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:638) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:545) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:151) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:2142) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.reexec.ReExecDriver.getResults(ReExecDriver.java:241) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:476) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] ... 13 moreCaused by: > java.lang.RuntimeException: ORC split generation failed with exception: > java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at > org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1929) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getSplits(OrcInputFormat.java:2016) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.generateWrappedSplits(FetchOperator.java:461) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.getNextSplits(FetchOperator.java:430) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:336) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:576) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:545) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:151) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.Driver.getResults(Driver.java:2142) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hadoop.hive.ql.reexec.ReExecDriver.getResults(ReExecDriver.java:241) > ~[hive-exec-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] at > org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:476) > ~[hive-service-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] -- This message was sent by Atlassian Jira (v8.3.4#803005)