GitHub user hequn8128 opened a pull request:
https://github.com/apache/flink/pull/5347
[FLINK-8492][table] Fix calc cost bug
## What is the purpose of the change
Fix calc cost bug. Currently, unsupported exception will be thrown when
multi calc existing between correlate and TableFunctionScan.
## Brief change log
- Add a constant 1 to compCnt in `CommonCalc`
## Verifying this change
This change added tests and can be verified as follows:
- Added integration tests for udtf with multi cals
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hequn8128/flink 8492
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5347.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 #5347
----
commit bf1b4d4773c3690dfe73a0e71b22730d8b5eb99c
Author: hequn8128 <chenghequn@...>
Date: 2018-01-24T04:25:13Z
[FLINK-8492][table] Fix calc cost bug
----
---