[
https://issues.apache.org/jira/browse/FLINK-8045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhenghua Gao updated FLINK-8045:
--------------------------------
Description:
Currently DATE/TIME/TIMESTAMP have internal representation. Such as Date is
represented as Int internal.
This feature may improve performance processing DATE/TIME/TIMESTAMP data.
But I found there is a LIMITATION: internal representation exists only within
one operator.
We transfer DATE/TIME/TIMESTAMP objects between operators.
I think we could treat DATE/TIME/TIMESTAMP as internal representation in the
whole job, and cast them to java.sql.* as needed(UDF/UDTF/OUTPUT)
was:
Currently DATE/TIME/TIMESTAMP have internal representation. Such as Date is
represented as Int internal. This feature may improve performance processing
DATE/TIME/TIMESTAMP data. But I found there is a LIMITATION: internal
representation exists only within one operator.
We transfer DATE/TIME/TIMESTAMP objects between operators.
I think we could treat DATE/TIME/TIMESTAMP as internal representation in
the whole job, and cast them to java.sql.* as needed(UDF/UDTF/OUTPUT)
> Add Internal DATE/TIME/TIMESTAMP as internal representation of
> DATE/TIME/TIMESTAMP
> ----------------------------------------------------------------------------------
>
> Key: FLINK-8045
> URL: https://issues.apache.org/jira/browse/FLINK-8045
> Project: Flink
> Issue Type: Improvement
> Components: Table API & SQL
> Reporter: Zhenghua Gao
> Assignee: Zhenghua Gao
>
> Currently DATE/TIME/TIMESTAMP have internal representation. Such as Date is
> represented as Int internal.
> This feature may improve performance processing DATE/TIME/TIMESTAMP data.
> But I found there is a LIMITATION: internal representation exists only within
> one operator.
> We transfer DATE/TIME/TIMESTAMP objects between operators.
> I think we could treat DATE/TIME/TIMESTAMP as internal representation in the
> whole job, and cast them to java.sql.* as needed(UDF/UDTF/OUTPUT)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)