[
https://issues.apache.org/jira/browse/CALCITE-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548939#comment-16548939
]
Piotr Bojko commented on CALCITE-2420:
--------------------------------------
Thx, after changing to SqlType and switching to Long at tbl function
implementation everything seems to work now.
Using primitives instead of timestamp/date/.. at the client level is counter
intuitive though. See ShufflePlaylistGeneratorFunction, this is a kind of a
client level code and there is no reason to use it internal representations,
like primitives instead of objects with their proper business type (Timestamp).
> Aggregate functions MIN/MAX does not work for Timestamp
> -------------------------------------------------------
>
> Key: CALCITE-2420
> URL: https://issues.apache.org/jira/browse/CALCITE-2420
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.17.0
> Reporter: Piotr Bojko
> Assignee: Julian Hyde
> Priority: Major
>
> See https://github.com/ptrbojko/calcite/tree/CALCITE-2420 for reproduction.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)