GitHub user dilipbiswal opened a pull request:
https://github.com/apache/spark/pull/22161
[SPARKR][TEST] Improve R sql tests
## What changes were proposed in this pull request?
A few SQL tests for R were failing in my development environment. In this
PR, i am attempting to
address some of them. Below are the reasons for the failure.
- The catalog api tests assumes catalog artifacts named "foo" to be non
existent. I think name such as foo and bar are common and i use it frequently.
I have changed it to a string that i hope is less likely to collide.
- One test assumes that we only have one database in the system. I had more
than one and it caused the test to fail. I have changed that check.
- One more test which compares two timestamp values fail - i am debugging
this now. I will send it as a followup - may be.
## How was this patch tested?
Its a test fix.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dilipbiswal/spark r-sql-test-fix1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22161.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22161
----
commit 120edebd616a6e0c5e3b3c2f0d59e1b13f68d3f0
Author: Dilip Biswal <dbiswal@...>
Date: 2018-08-20T18:50:31Z
Improve R sql tests
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]