GitHub user cloud-fan opened a pull request:
https://github.com/apache/spark/pull/20438
[SPARK-23272][SQL] add calendar interval type support to ColumnVector
## What changes were proposed in this pull request?
`ColumnVector` is aimed to support all the data types, but
`CalendarIntervalType` is missing. Actually we do support interval type for
inner fields, e.g. `ColumnarRow`, `ColumnarArray` both supports interval type,
it's weird if we don't support interval type at the top level.
This PR adds the interval type support.
## How was this patch tested?
a new test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloud-fan/spark interval
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20438.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 #20438
----
commit 4e538913901de6cb439e9919e958a60ab698fe24
Author: Wenchen Fan <wenchen@...>
Date: 2018-01-30T11:30:34Z
add calendar interval type support to ColumnVector
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]