You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/04/14 08:34:09 UTC

[GitHub] [flink] hequn8128 commented on a change in pull request #11531: [FLINK-16748][python][doc] Add Python UDTF doc

hequn8128 commented on a change in pull request #11531: [FLINK-16748][python][doc] Add Python UDTF doc
URL: https://github.com/apache/flink/pull/11531#discussion_r407943529
 
 

 ##########
 File path: docs/dev/table/functions/udfs.md
 ##########
 @@ -247,53 +253,51 @@ tableEnv.sqlQuery("SELECT a, word, length FROM MyTable LEFT JOIN LATERAL TABLE(s
 </div>
 
 <div data-lang="python" markdown="1">
-{% highlight python %}
-'''
-Java code:
+In order to define a Python table function, one can extend the base class TableFunction in pyflink.table.udtf and Implement an evaluation method. The behavior of a Python table function is determined by the evaluation method which is named eval.
 
 Review comment:
   class \`TableFunction\` in \`pyflink.table.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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services