GitHub user maropu opened a pull request:
https://github.com/apache/spark/pull/20872
[SPARK-23264][SQL] Fix scala.MatchError in literals.sql.out
## What changes were proposed in this pull request?
To fix `scala.MatchError` in `literals.sql.out`, this pr added an entry for
`CalendarIntervalType` in `QueryExecution.toHiveStructString`.
## How was this patch tested?
Existing tests and added tests in `literals.sql`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/maropu/spark FixIntervalTests
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20872.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 #20872
----
commit 7bb29b2b114f78fc4a75ea717846f470cf024582
Author: Takeshi Yamamuro <yamamuro@...>
Date: 2018-03-21T10:15:26Z
Fix
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]