GitHub user twalthr opened a pull request:
https://github.com/apache/flink/pull/1595
[FLINK-3226] Implement a CodeGenerator for an efficient translation to
DataSet programs
This PR implements a CodeGenerator for Table API on Calcite.
It includes the following:
- FilterITCase, SelectITCase and ExpressionITCase are mostly working again
- Null values are now fully supported and tested with new
`TableProgramsTestBase`
- Arithmetic `+-*/ +X -X`, logical operators `== != AND, OR, NOT, IS NULL,
NOT NULL` are supported.
- Logical operators implement 3-valued logic.
- A new configuration parameter `efficientTypeUsage` allows generated
DataSet programs to be as efficient as ordinary DataSet programs by avoiding
unnecessary type conversions and using most efficient type for every operator.
Limitations:
- String functions are not yet supported. They will be forwarded to
Calcites runtime functions once I have implemented the necessary interfaces for
that.
- Expression type casting is missing yet
- Date Literal is not supported yet
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/twalthr/flink CodeGen
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1595.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 #1595
----
commit c1a63287de0014f0b5bd23d1e0bc31e679f02fbe
Author: twalthr <[email protected]>
Date: 2016-02-05T16:40:54Z
[FLINK-3226] Implement a CodeGenerator for an efficient translation to
DataSet programs
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---