[
https://issues.apache.org/jira/browse/FLINK-15706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021968#comment-17021968
]
Dawid Wysakowicz commented on FLINK-15706:
------------------------------------------
Yes, we should definitely simplify the structure of the classes. I think the
problem is somewhere around type inference of the top level test class, as it
is actually always instantiated by reflection and as far as I can tell it will
most probably always be inferred to Object, which might mismatch somewhere in
subsequent calls.
I would try to target this for 1.11 and unblock the release for now (I had a
mistake in my previous comment, actually I'm in favor of decreasing the
priority).
> LastValueAggFunctionWithOrderTest compilation error due to incompatible types
> -----------------------------------------------------------------------------
>
> Key: FLINK-15706
> URL: https://issues.apache.org/jira/browse/FLINK-15706
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner, Tests
> Affects Versions: 1.10.0
> Reporter: Yu Li
> Assignee: Jingsong Lee
> Priority: Critical
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{LastValueAggFunctionWithOrderTest}} failed to compile in latest
> release-1.10 nightly build with below error:
> {code}
> 03:02:41.792 [INFO]
> -------------------------------------------------------------
> 03:02:41.792 [ERROR] COMPILATION ERROR :
> 03:02:41.792 [INFO]
> -------------------------------------------------------------
> 03:02:41.792 [ERROR]
> /home/travis/build/apache/flink/flink-table/flink-table-planner-blink/src/test/java/org/apache/flink/table/planner/functions/aggfunctions/LastValueAggFunctionWithOrderTest.java:[78,37]
> incompatible types: inference variable T has incompatible bounds
> equality constraints:
> N,java.lang.Byte,N,T,T,T,T,org.apache.flink.table.dataformat.BinaryString,T,T
> lower bounds:
> java.lang.Byte,org.apache.flink.table.dataformat.BinaryString
> {code}
> https://api.travis-ci.org/v3/job/639573134/log.txt
--
This message was sent by Atlassian Jira
(v8.3.4#803005)