spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Weaver <philip.wea...@gmail.com>
Subject Re: Support for time column type?
Date Mon, 04 Apr 2016 19:35:30 GMT
Hmm, yeah it looks like I could use that to represent time since start of
day. I'm porting existing large SQL queries from Postgres to Spark SQL for
a quickPOC, so I'd prefer not to have to make many changes to it. I'm not
sure if the CalendarIntervalType can be used as a drop-in replacement (i.e.
if all the same operators are defined for it), but I'll give it a try.

- Philip


On Fri, Apr 1, 2016 at 1:33 PM, Michael Armbrust <michael@databricks.com>
wrote:

> There is also CalendarIntervalType.  Is that what you are looking for?
>
> On Fri, Apr 1, 2016 at 1:11 PM, Philip Weaver <philip.weaver@gmail.com>
> wrote:
>
>> Hi, I don't see any mention of a time type in the documentation (there is
>> DateType and TimestampType, but not TimeType), and have been unable to find
>> any documentation about whether this will be supported in the future. Does
>> anyone know if this is currently supported or will be supported in the
>> future?
>>
>
>

Mime
View raw message