New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-13287][table-api] Port ExistingField to api-java and use new Expression in FieldComputer #9129
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
b83051e
to
e6eaad2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JingsongLi. I just had minor comments.
* a rowtime attribute. | ||
*/ | ||
@PublicEvolving | ||
public class ExistingField extends TimestampExtractor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it final
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch, missed it.
// add cast to requested type and convert expression to RexNode | ||
// TODO we cast to planner expressions as a temporary solution to keep the old interfaces |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readd this TODO?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will add TODO we convert to planner expressions as a temporary solution
e6eaad2
to
a6f042a
Compare
Travis green in: https://travis-ci.org/JingsongLi/flink/builds/560359305 |
…xpression in FieldComputer
a6f042a
to
03299e1
Compare
03299e1
to
139fb6d
Compare
Thanks @twalthr 's review, Code updated and have added serialVersionUID, PublicEvolving and final. Please take a look. |
Thanks. Will merge... |
What is the purpose of the change
ExistingField is a api of table, and connectors dependent on it, we should port it to api.
Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: noDocumentation