davidradl commented on code in PR #26385:
URL: https://github.com/apache/flink/pull/26385#discussion_r2022534250
##########
docs/content/docs/dev/python/table/table_environment.md:
##########
@@ -199,6 +199,61 @@ These APIs are used to create/remove Table API/SQL Tables
and write queries:
{{< pythondoc
file="pyflink.table.html#pyflink.table.TableEnvironment.drop_table"
name="link">}}
</td>
</tr>
+ <tr>
+ <td>
+ <strong>drop_temporary_model(view_path,
ignore_if_not_exists=True)</strong>
+ </td>
+ <td>
+ Drops a temporary model registered in the given path.
+ </td>
+ <td class="text-center">
+ {{< pythondoc
file="pyflink.table.html#pyflink.table.TableEnvironment.drop_temporary_model"
name="link">}}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>create_model(model_path, model_descriptor,
ignore_if_exists=False)</strong>
+ </td>
+ <td>
+ Registers a `Model` object as a model similar to SQL Models.
+ </td>
+ <td class="text-center">
+ {{< pythondoc
file="pyflink.table.html#pyflink.table.TableEnvironment.create_model"
name="link">}}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>create_temporary_model(model_path, model_descriptor,
ignore_if_exists=False)</strong>
+ </td>
+ <td>
+ Registers a `Model` object as a temporary model similar to SQL
temporary Models.
+ </td>
+ <td class="text-center">
+ {{< pythondoc
file="pyflink.table.html#pyflink.table.TableEnvironment.create_temporary_model"
name="link">}}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong>drop_model(model_path, ignore_if_not_exists=True)</strong>
+ </td>
+ <td>
+ Drops a model registered in the given path.
Review Comment:
we should document the flag as well.
--
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]