[ https://issues.apache.org/jira/browse/HIVE-19557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476983#comment-16476983 ]
Hive QA commented on HIVE-19557: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12923503/HIVE-19557.01.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/10983/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/10983/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-10983/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2018-05-16 07:43:50.688 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-10983/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2018-05-16 07:43:50.691 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 38c757c HIVE-19495: Arrow SerDe itest failure (Teddy Choi, reviewed by Matt McCline) + git clean -f -d + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 38c757c HIVE-19495: Arrow SerDe itest failure (Teddy Choi, reviewed by Matt McCline) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2018-05-16 07:43:52.006 + rm -rf ../yetus_PreCommit-HIVE-Build-10983 + mkdir ../yetus_PreCommit-HIVE-Build-10983 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-10983 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-10983/yetus + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java:106 error: repository lacks the necessary blob to fall back on 3-way merge. error: ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java: patch does not apply error: src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java: does not exist in index error: java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java: does not exist in index The patch does not appear to apply with p0, p1, or p2 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12923503 - PreCommit-HIVE-Build > stats: filters for dates are not taking advantage of min/max values > ------------------------------------------------------------------- > > Key: HIVE-19557 > URL: https://issues.apache.org/jira/browse/HIVE-19557 > Project: Hive > Issue Type: Bug > Components: Query Planning > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Attachments: HIVE-19557.01.patch > > > in StatsRulesProcFactory > [https://github.com/apache/hive/blob/ab189f54047bbf6beeeaf8d0dcfd5fbe92e465fb/ql/src/java/org/apache/hadoop/hive/ql/optimizer/stats/annotation/StatsRulesProcFactory.java#L754|dates > are assumed to be an integer]; however this is currently not true - and the > resulting exception is handled as a default case... for N/3 > {code} > set hive.explain.user=true; > create table d1(d date); > -- tblproperties('transactional'='false'); > insert into d1 values > ('2010-10-01'), > ('2010-10-02'), > ('2010-10-03'), > ('2010-10-04'), > ('2010-10-05'), > ('2010-10-06'), > ('2010-10-07'), > ('2010-10-08'), > ('2010-10-09'), > ('2010-10-10'); > analyze table d1 compute statistics for columns; > desc formatted d1; > desc formatted d1 d; > explain > select 'stats: FIL ~0 read',count(1) from d1 where d < '2010-03-01'; > explain > select 'stats: FIL estimate some read',count(1) from d1 where d < > '2010-10-03'; > explain > select 'stats: FIL estimate all read',count(1) from d1 where d < '2010-11-03'; > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)