xiangqiao123 commented on pull request #17761:
URL: https://github.com/apache/flink/pull/17761#issuecomment-979703361


   @rmetzger @Tartarus0zm Thank you for your review.  
   I have modified the logic to skip validation: skip validate if the input is 
not instance of UserDefinedFunction.
   
   > And for the second question you mention in FLINK-24862 .
   > I think we don't need to modify the logic of HiveGenericUDTF.
   > 
   > You can implement your UDTF by overriding method public 
StructObjectInspector initialize(ObjectInspector[] argOIs) just like 
HiveGenericUDTFTest.TestSplitUDTF does.
   
   Since hive 0.13, many hive UDTF implementations have not  overrided method 
`public StructObjectInspector initialize(ObjectInspector[] argOIs)`,and this 
method is deprecated.  
   Therefore, flink needs to be compatible with the use of this udtf.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to