[
https://issues.apache.org/jira/browse/HIVE-22292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957279#comment-16957279
]
Hive QA commented on HIVE-22292:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12983722/HIVE-22292.4.patch
{color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 17516 tests
executed
*Failed tests:*
{noformat}
TestMiniLlapLocalCliDriver - did not produce a TEST-*.xml file (likely timed
out) (batchId=186)
[vector_case_when_1.q,schema_evol_text_vec_part_llap_io.q,join_is_not_distinct_from.q,tez_nway_join.q,tez_schema_evolution.q,bucket_map_join_tez1.q,vector_multi_insert.q,insert_update_delete.q,schema_evol_orc_nonvec_part_all_primitive_llap_io.q,temp_table.q,external_jdbc_table_partition.q,cte_1.q,partition_pruning.q,vectorization_17.q,reopt_semijoin.q,bucket_groupby.q,vector_outer_join4.q,materialized_view_partitioned.q,orc_merge7.q,materialized_view_rewrite_3.q,bucketpruning1.q,schema_evol_orc_acidvec_table.q,vector_outer_join5.q,schema_evol_orc_acidvec_part_update_llap_io.q,external_jdbc_table3.q,vector_udf_inline.q,results_cache_temptable.q,groupby_rollup_empty2.q,auto_sortmerge_join_11.q,orc_merge_incompat_writer_version.q]
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/19109/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19109/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19109/
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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12983722 - PreCommit-HIVE-Build
> Implement Hypothetical-Set Aggregate Functions
> ----------------------------------------------
>
> Key: HIVE-22292
> URL: https://issues.apache.org/jira/browse/HIVE-22292
> Project: Hive
> Issue Type: Improvement
> Components: UDF
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22292.1.patch, HIVE-22292.2.patch,
> HIVE-22292.3.patch, HIVE-22292.4.patch
>
>
> {code}
> <hypothetical set function> ::=
> <rank function type> <left paren>
> <hypothetical set function value expression list> <right paren>
> <within group specification>
> <rank function type> ::=
> RANK
> | DENSE_RANK
> | PERCENT_RANK
> | CUME_DIST
> {code}
> Example:
> {code}
> CREATE TABLE table1 (column1 int);
> INSERT INTO table1 VALUES (NULL), (3), (8), (13), (7), (6), (20), (NULL),
> (NULL), (10), (7), (15), (16), (8), (7), (8), (NULL);
> {code}
> {code}
> SELECT rank(6) WITHIN GROUP (ORDER BY column1) FROM table1;
> {code}
> {code}
> 2
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)