-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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-36505 remove deprecated methods TableFunction #25538
base: master
Are you sure you want to change the base?
FLINK-36505 remove deprecated methods TableFunction #25538
Conversation
@flinkbot run azure |
public TypeInformation<Row> getResultType() { | ||
return new RowTypeInfo(config.getSelectedFieldTypes(), config.getSelectedFieldNames()); | ||
} | ||
|
||
@Override | ||
public void open(FunctionContext context) throws Exception { | ||
super.open(context); |
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.
TypeInformation<Row> rowType = getResultType();
this seems to be calling the removed function?
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.
In the Azure compile log, it indicates that:
14:00:11.430 [ERROR] /__w/3/s/flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/UserDefinedFunctionHelper.java:[186,60] cannot find symbol
14:00:11.430 [ERROR] symbol: method getResultType()
14:00:11.430 [ERROR] location: variable tableFunction of type org.apache.flink.table.functions.TableFunction<T>
So you also have to check here.
Hi, @jbalchan is there any progress on the ci failure? |
Re-Checking now. Will update by End of today. |
eb12f82
to
772769a
Compare
0222d40
to
0824c9e
Compare
0824c9e
to
c707158
Compare
@flinkbot run azure |
@jbalchan the ci failed again where compiling, can you take a look again? |
What is the purpose of the change
[FLINK-36505] https://issues.apache.org/jira/browse/FLINK-36505 Removed all deprecated methods - getResultType and getParameterTypes from TableFunction under table-common.
Brief change log
Removed all deprecated methods - getResultType and getParameterTypes from TableFunction under table-common.
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