Skip to content

Commit

Permalink
update udf to functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jiashenC committed Sep 5, 2023
1 parent 849609b commit c49193e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/source/reference/evaql/create.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To create a table, specify the schema of the table.
);
CREATE FUNCTION
----------
---------------

To register an user-defined function, specify the implementation details of the function.

Expand All @@ -66,7 +66,7 @@ To register an user-defined function, specify the implementation details of the
.. _create-udf-train:

CREATE FUNCTION via Training
-----------------------
----------------------------

To register an user-defined function by training a predication model.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/evaql/drop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DROP TABLE
DROP FUNCTION
--------
-------------

.. code:: mysql
Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/evaql/select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Search for frames containing greater than 3 cars
ORDER BY id;
SELECT WITH MULTIPLE FUNCTIONS
-------------------------
------------------------------

Compose multiple user-defined functions in a single query to construct semantically complex queries.

Expand Down
2 changes: 1 addition & 1 deletion docs/source/reference/evaql/show.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ SHOW
====

SHOW FUNCTIONS
---------
--------------

List the registered user-defined functions

Expand Down
6 changes: 3 additions & 3 deletions docs/source/reference/evaql/udf.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:orphan:

Functions
===
=========

SHOW FUNCTIONS
---------
--------------

Here is a list of built-in user-defined functions in EvaDB.

Expand All @@ -24,7 +24,7 @@ FastRCNNObjectDetector is a model for detecting objects. MVITActionRecognition i
ArrayCount and Crop are utility functions for counting the number of objects in an array and cropping a bounding box from an image, respectively.

SELECT WITH MULTIPLE FUNCTIONS
-------------------------
------------------------------

Here is a query that illustrates how to use multiple functions in a single query.

Expand Down
2 changes: 1 addition & 1 deletion tutorials/11-similarity-search-for-motif-mining.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
"source": [
"cursor.query(\"DROP UDF IF EXISTS SiftFeatureExtractor;\").df()\n",
"cursor.query(\"\"\"CREATE UDF IF NOT EXISTS SiftFeatureExtractor\n",
" IMPL '../evadb/udfs/sift_feature_extractor.py'\"\"\").df()"
" IMPL '../evadb/functions/sift_feature_extractor.py'\"\"\").df()"
]
},
{
Expand Down

0 comments on commit c49193e

Please sign in to comment.