Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ for line in sys.stdin:
EOF
```

If your Python script imports third-party packages, you must create a `requirements.txt` file listing those dependencies. For example:
If your Python script imports third-party packages, list them in a `requirements.txt` file and ClickHouse Cloud installs them for you. You can instead bundle dependencies directly in the ZIP, but then you must include cached packages for both CPU architectures, so `requirements.txt` is simpler. For example:

```text
requests>=2.28.0
Expand Down Expand Up @@ -175,6 +175,8 @@ true false
<Step>
### Create a new version {#create-new-version}

To change a UDF's code, create a new version. The **Edit** panel only manages which services a UDF is assigned to; uploading a file there won't replace the deployed code.

1. From the Cloud console homepage, click on the name of your organization in the bottom-left menu.
2. Select **User-defined functions** from the menu.
3. Select the three dots under **Actions** for the `isBusinessHours` UDF, click **Create new version**
Expand Down