aboutsummaryrefslogtreecommitdiff
path: root/sql/hive-thriftserver
diff options
context:
space:
mode:
authorgatorsmile <gatorsmile@gmail.com>2016-09-07 08:13:12 +0800
committerWenchen Fan <wenchen@databricks.com>2016-09-07 08:13:12 +0800
commita40657bfd375bd27d65204bb42ed0cbd7bd1ebf2 (patch)
tree868d4e48f4edca4c09a49ea633876696e96b1b77 /sql/hive-thriftserver
parentc07cbb3534a57834b9b78e1572d40fb2af930f5f (diff)
downloadspark-a40657bfd375bd27d65204bb42ed0cbd7bd1ebf2.tar.gz
spark-a40657bfd375bd27d65204bb42ed0cbd7bd1ebf2.tar.bz2
spark-a40657bfd375bd27d65204bb42ed0cbd7bd1ebf2.zip
[SPARK-17408][TEST] Flaky test: org.apache.spark.sql.hive.StatisticsSuite
### What changes were proposed in this pull request? https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/64956/testReport/junit/org.apache.spark.sql.hive/StatisticsSuite/test_statistics_of_LogicalRelation_converted_from_MetastoreRelation/ ``` org.apache.spark.sql.hive.StatisticsSuite.test statistics of LogicalRelation converted from MetastoreRelation Failing for the past 1 build (Since Failed#64956 ) Took 1.4 sec. Error Message org.scalatest.exceptions.TestFailedException: 6871 did not equal 4236 Stacktrace sbt.ForkMain$ForkError: org.scalatest.exceptions.TestFailedException: 6871 did not equal 4236 at org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:500) ``` This fix does not check the exact value of `sizeInBytes`. Instead, we compare whether it is larger than zero and compare the values between different values. In addition, we also combine `checkMetastoreRelationStats` and `checkLogicalRelationStats` into the same checking function. ### How was this patch tested? N/A Author: gatorsmile <gatorsmile@gmail.com> Closes #14978 from gatorsmile/spark17408.
Diffstat (limited to 'sql/hive-thriftserver')
0 files changed, 0 insertions, 0 deletions