[ https://issues.apache.org/jira/browse/HIVE-22893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17042647#comment-17042647 ]
Hive QA commented on HIVE-22893: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12994213/HIVE-22893.11.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 18056 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[unionall_unbalancedppd] (batchId=3) org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_case_when_1] (batchId=98) org.apache.hadoop.hive.cli.TestMiniLlapCliDriver.testCliDriver[unionDistinct_1] (batchId=161) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_case_when_1] (batchId=191) org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver[dynamic_rdd_cache] (batchId=200) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby3_map_skew] (batchId=144) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby7_map] (batchId=119) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby7_map_skew] (batchId=137) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby8_map_skew] (batchId=140) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby9] (batchId=120) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[groupby_position] (batchId=135) org.apache.hadoop.hive.cli.TestTezPerfConstraintsCliDriver.testCliDriver[cbo_query23] (batchId=305) org.apache.hadoop.hive.cli.TestTezPerfConstraintsCliDriver.testCliDriver[query23] (batchId=305) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/20786/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20786/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20786/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 13 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12994213 - PreCommit-HIVE-Build > Enhance data size estimation for fields computed by UDFs > -------------------------------------------------------- > > Key: HIVE-22893 > URL: https://issues.apache.org/jira/browse/HIVE-22893 > Project: Hive > Issue Type: Improvement > Components: Statistics > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Labels: pull-request-available > Attachments: HIVE-22893.01.patch, HIVE-22893.02.patch, > HIVE-22893.03.patch, HIVE-22893.04.patch, HIVE-22893.05.patch, > HIVE-22893.06.patch, HIVE-22893.07.patch, HIVE-22893.08.patch, > HIVE-22893.09.patch, HIVE-22893.10.patch, HIVE-22893.11.patch > > Time Spent: 10m > Remaining Estimate: 0h > > Right now if we have columnstat on a column ; we use that to estimate things > about the column; - however if an UDF is executed on a column ; the resulting > column is treated as unknown thing and defaults are assumed. > An improvement could be to give wide estimation(s) in case of frequently used > udf. > For example; consider {{substr(c,1,1)}} ; no matter what the input; the > output is at most a 1 long string -- This message was sent by Atlassian Jira (v8.3.4#803005)