You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pete Robbins (JIRA)" <ji...@apache.org> on 2015/09/25 11:17:04 UTC

[jira] [Commented] (SPARK-6873) Some Hive-Catalyst comparison tests fail due to unimportant order of some printed elements

    [ https://issues.apache.org/jira/browse/SPARK-6873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907841#comment-14907841 ] 

Pete Robbins commented on SPARK-6873:
-------------------------------------

I no longer see these errors in my 1.5 branch Java 8 build. Did someone fix them, remove the tests or is it just chance?

> Some Hive-Catalyst comparison tests fail due to unimportant order of some printed elements
> ------------------------------------------------------------------------------------------
>
>                 Key: SPARK-6873
>                 URL: https://issues.apache.org/jira/browse/SPARK-6873
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL, Tests
>    Affects Versions: 1.3.1
>            Reporter: Sean Owen
>            Assignee: Cheng Lian
>            Priority: Minor
>
> As I mentioned, I've been seeing 4 test failures in Hive tests for a while, and actually it still affects master. I think it's a superficial problem that only turns up when running on Java 8, but still, would probably be an easy fix and good to fix.
> Specifically, here are four tests and the bit that fails the comparison, below. I tried to diagnose this but had trouble even finding where some of this occurs, like the list of synonyms?
> {code}
> - show_tblproperties *** FAILED ***
>   Results do not match for show_tblproperties:
> ...
>   !== HIVE - 2 row(s) ==   == CATALYST - 2 row(s) ==
>   !tmp	true                bar	bar value
>   !bar	bar value           tmp	true (HiveComparisonTest.scala:391)
> {code}
> {code}
> - show_create_table_serde *** FAILED ***
>   Results do not match for show_create_table_serde:
> ...
>    WITH SERDEPROPERTIES (                                          WITH SERDEPROPERTIES ( 
>   !  'serialization.format'='$',                                     'field.delim'=',', 
>   !  'field.delim'=',')                                              'serialization.format'='$')
> {code}
> {code}
> - udf_std *** FAILED ***
>   Results do not match for udf_std:
> ...
>   !== HIVE - 2 row(s) ==                                         == CATALYST - 2 row(s) ==
>    std(x) - Returns the standard deviation of a set of numbers   std(x) - Returns the standard deviation of a set of numbers
>   !Synonyms: stddev_pop, stddev                                  Synonyms: stddev, stddev_pop (HiveComparisonTest.scala:391)
> {code}
> {code}
> - udf_stddev *** FAILED ***
>   Results do not match for udf_stddev:
> ...
>   !== HIVE - 2 row(s) ==                                            == CATALYST - 2 row(s) ==
>    stddev(x) - Returns the standard deviation of a set of numbers   stddev(x) - Returns the standard deviation of a set of numbers
>   !Synonyms: stddev_pop, std                                        Synonyms: std, stddev_pop (HiveComparisonTest.scala:391)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org