{"push_id":1460745413,"size":1,"distinct_size":1,"ref":"refs/heads/branch-2.1","head":"df589be5443980f344d50afc8068f57ae18995de","before":"d8ef0be83d8d032ddab79b465226ed3ff3d1eff7","commits":[{"sha":"df589be5443980f344d50afc8068f57ae18995de","author":{"name":"Dongjoon Hyun","email":"1bf3a3c57610939bd1558dffb564906c959abecb@apache.org"},"message":"[SPARK-18897][SPARKR] Fix SparkR SQL Test to drop test table\n\n## What changes were proposed in this pull request?\n\nSparkR tests, `R/run-tests.sh`, succeeds only once because `test_sparkSQL.R` does not clean up the test table, `people`.\n\nAs a result, the rows in `people` table are accumulated at every run and the test cases fail.\n\nThe following is the failure result for the second run.\n\n```r\nFailed -------------------------------------------------------------------------\n1. Failure: create DataFrame from RDD (test_sparkSQL.R#204) -------------------\ncollect(sql(\"SELECT age from people WHERE name = 'Bob'\"))$age not equal to c(16).\nLengths differ: 2 vs 1\n\n2. Failure: create DataFrame from RDD (test_sparkSQL.R#206) -------------------\ncollect(sql(\"SELECT height from people WHERE name ='Bob'\"))$height not equal to c(176.5).\nLengths differ: 2 vs 1\n```\n\n## How was this patch tested?\n\nManual. Run `run-tests.sh` twice and check if it passes without failures.\n\nAuthor: Dongjoon Hyun <dongjoon@apache.org>\n\nCloses #16310 from dongjoon-hyun/SPARK-18897.\n\n(cherry picked from commit 1169db44bc1d51e68feb6ba2552520b2d660c2c0)\nSigned-off-by: Shivaram Venkataraman <shivaram@cs.berkeley.edu>","distinct":true,"url":"https://api.github.com/repos/ueshin/apache-spark/commits/df589be5443980f344d50afc8068f57ae18995de"}]}
{"actor":{"display_login":"ueshin"}}