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 05:43:38 UTC

[GitHub] [flink] dianfu opened a new pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

dianfu opened a new pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724
 
 
   
   ## What is the purpose of the change
   
   *This pull request add documentation for vectorized Python UDF.*
   
   ## Brief change log
   
     - *Add documentation `vectorized_python_udfs.md` for vectorized Python UDF*
   
   ## Verifying this change
   
   This change is a documentation rework without any test coverage.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
     - The serializers: (no)
     - The runtime per-record code paths (performance sensitive): (no)
     - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
     - The S3 file system connector: (no)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (no)
     - If yes, how is the feature documented? (not applicable)
   

----------------------------------------------------------------
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

[GitHub] [flink] hequn8128 commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
hequn8128 commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-614389067
 
 
   @dianfu Thanks a lot for the update. Merging...

----------------------------------------------------------------
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

[GitHub] [flink] hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#discussion_r408595195
 
 

 ##########
 File path: docs/dev/table/python/vectorized_python_udfs.md
 ##########
 @@ -0,0 +1,62 @@
+---
+title: "Vectorized User-defined Functions"
+nav-parent_id: python_tableapi
+nav-pos: 30
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Vectorized user-defined functions are functions which are executed by transferring a batch of elements between JVM and Python VM in Arrow columnar format.
 
 Review comment:
   Also add some descriptions about the advantages of the vectorized udfs over regular udfs?

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "CANCELED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160340796",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160355383",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 8e0eaaf59763bb0b64a4798e7f243b1c9bf12758 Travis: [CANCELED](https://travis-ci.com/github/flink-ci/flink/builds/160340796) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498) 
   * 937df6f51bf879446b373516efd5ecd8c332b98b Travis: [PENDING](https://travis-ci.com/github/flink-ci/flink/builds/160355383) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160340796",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160355383",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 937df6f51bf879446b373516efd5ecd8c332b98b Travis: [FAILURE](https://travis-ci.com/github/flink-ci/flink/builds/160355383) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [SUCCESS](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#discussion_r408698992
 
 

 ##########
 File path: docs/dev/table/python/vectorized_python_udfs.md
 ##########
 @@ -0,0 +1,65 @@
+---
+title: "Vectorized User-defined Functions"
+nav-parent_id: python_tableapi
+nav-pos: 30
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Vectorized Python user-defined functions are functions which are executed by transferring a batch of elements between JVM and Python VM in Arrow columnar format.
+The performance of vectorized Python user-defined functions are usually much higher than non-vectorized Python user-defined functions as the serialization/deserialization
+overhead is much reduced. Besides, users could leverage the popular Python libraries such as Pandas, Numpy, etc for the vectorized Python user-defined functions implementation.
+These Python libraries are highly optimized and provide high-performance data structures and functions. It shares the similar way as the
+[non-vectorized user-defined functions]({{ site.baseurl }}/dev/table/python/python_udfs.html) on how to define vectorized user-defined functions.
+Users only need to add an extra parameter `udf_type="pandas"` in the decorator `udf` to mark it as a vectorized user-defined function.
+
+**NOTE:** Python UDF execution requires Python version (3.5, 3.6 or 3.7) with PyFlink installed. It's required on both the client side and the cluster side. 
+
+* This will be replaced by the TOC
+{:toc}
+
+## Vectorized Scalar Functions
+
+Vectorized Python scalar functions take pandas.Series as the inputs and return a pandas.Series of the same length as the output.
 
 Review comment:
   to \`pandas.Series\`. Also note for other places. 

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [SUCCESS](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160340796",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [SUCCESS](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   * 8e0eaaf59763bb0b64a4798e7f243b1c9bf12758 Travis: [PENDING](https://travis-ci.com/github/flink-ci/flink/builds/160340796) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] hequn8128 merged pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
hequn8128 merged pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724
 
 
   

----------------------------------------------------------------
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

[GitHub] [flink] dianfu commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
dianfu commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613883788
 
 
   @hequn8128 Thanks for the review. Updated the PR.

----------------------------------------------------------------
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

[GitHub] [flink] dianfu commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
dianfu commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613924469
 
 
   @hequn8128 Thanks for the review. Updated the PR.

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160340796",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [SUCCESS](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   * 8e0eaaf59763bb0b64a4798e7f243b1c9bf12758 Travis: [PENDING](https://travis-ci.com/github/flink-ci/flink/builds/160340796) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498) 
   * 937df6f51bf879446b373516efd5ecd8c332b98b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
hequn8128 commented on a change in pull request #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#discussion_r408594055
 
 

 ##########
 File path: docs/dev/table/python/vectorized_python_udfs.md
 ##########
 @@ -0,0 +1,62 @@
+---
+title: "Vectorized User-defined Functions"
+nav-parent_id: python_tableapi
+nav-pos: 30
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+Vectorized user-defined functions are functions which are executed by transferring a batch of elements between JVM and Python VM in Arrow columnar format.
+It shares the similar way as the [non-vectorized user-defined functions]({{ site.baseurl }}/dev/table/python/python_udfs.html) on how to
+define vectorized user-defined functions. Users only need to add an extra parameter udf_type="pandas" in the decorator `udf` to mark it as a vectorized user-defined function.
 
 Review comment:
   change to \`udf_type="pandas"\`

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "SUCCESS",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [SUCCESS](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [FAILURE](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   * 8e0eaaf59763bb0b64a4798e7f243b1c9bf12758 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "PENDING",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 5acec4bb31966ec054331a629ce51b616b7a020b Travis: [PENDING](https://travis-ci.com/github/flink-ci/flink/builds/160156448) Azure: [PENDING](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot commented on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613238037
 
 
   Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community
   to review your pull request. We will use this comment to track the progress of the review.
   
   
   ## Automated Checks
   Last check on commit 5acec4bb31966ec054331a629ce51b616b7a020b (Tue Apr 14 05:45:27 UTC 2020)
   
    ✅no warnings
   
   <sub>Mention the bot in a comment to re-run the automated checks.</sub>
   ## Review Progress
   
   * ❓ 1. The [description] looks good.
   * ❓ 2. There is [consensus] that the contribution should go into to Flink.
   * ❓ 3. Needs [attention] from.
   * ❓ 4. The change fits into the overall [architecture].
   * ❓ 5. Overall code [quality] is good.
   
   Please see the [Pull Request Review Guide](https://flink.apache.org/contributing/reviewing-prs.html) for a full explanation of the review process.<details>
    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 <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot approve description` to approve one or more aspects (aspects: `description`, `consensus`, `architecture` and `quality`)
    - `@flinkbot approve all` to approve all aspects
    - `@flinkbot approve-until architecture` to approve everything until `architecture`
    - `@flinkbot attention @username1 [@username2 ..]` to require somebody's attention
    - `@flinkbot disapprove architecture` to remove an approval you gave earlier
   </details>

----------------------------------------------------------------
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

[GitHub] [flink] flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF

Posted by GitBox <gi...@apache.org>.
flinkbot edited a comment on issue #11724: [FLINK-16486][python][docs] Add documentation for vectorized Python UDF
URL: https://github.com/apache/flink/pull/11724#issuecomment-613241606
 
 
   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7430",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160156448",
       "triggerID" : "5acec4bb31966ec054331a629ce51b616b7a020b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "DELETED",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7498",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "status" : "DELETED",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160340796",
       "triggerID" : "8e0eaaf59763bb0b64a4798e7f243b1c9bf12758",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     }, {
       "hash" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "status" : "FAILURE",
       "url" : "https://travis-ci.com/github/flink-ci/flink/builds/160355383",
       "triggerID" : "937df6f51bf879446b373516efd5ecd8c332b98b",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 937df6f51bf879446b373516efd5ecd8c332b98b Travis: [FAILURE](https://travis-ci.com/github/flink-ci/flink/builds/160355383) Azure: [SUCCESS](https://dev.azure.com/rmetzger/5bd3ef0a-4359-41af-abca-811b04098d2e/_build/results?buildId=7507) 
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run travis` re-run the last Travis build
    - `@flinkbot run azure` re-run the last Azure build
   </details>

----------------------------------------------------------------
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