Skip to content

Commit f982bbd

Browse files
authored
Merge pull request #74 from polybase/eng-626-5-second-execution-limit-for-functions
Specify function timeout period
2 parents acce77d + 3fe8e64 commit f982bbd

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

changelog.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ and this project adheres to
1111
During our beta rollout, minor updates in the semantic versioning represent
1212
breaking changes.
1313

14+
## \[0.3.40] - 2023-04-16
15+
16+
### Added
17+
18+
- Function execution now has a 5 second timeout.
19+
20+
1421
## \[0.3.39] - 2023-04-07
1522

1623
### Fixed

collections.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ The collection `constructor` function lets you **create new records** in your co
109109
The constructor function must assign `this.id` and any additional required fields defined in your collection. An error will be returned if a
110110
record already exists with the assigned `id` is provided, as each record in a collection must have a unique `id`.
111111

112+
<Note>
113+
Polybase functions have a 5 second timeout period.
114+
</Note>
115+
112116

113117
### Fields
114118

@@ -385,6 +389,10 @@ Map fields are not currently indexed
385389

386390
Field values can only be modified using functions.
387391

392+
<Note>
393+
Polybase functions have a 5 second timeout period.
394+
</Note>
395+
388396
```js
389397
@public
390398
collection Account {

known-issues.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Polybase is currently in alpha. We appreciate your patience while we add
66
functionality and address these issues. Please report any issues in
77
[Discord](https://discord.gg/DrXkRpCFDX).
88

9+
## Function timeout
10+
11+
Polybase functions have a 5 second timeout period.
12+
13+
914
## Indexes on Collection fields must be explicitly defined
1015

1116
You can index fields of type Collection but they must be explicitly defined using:

0 commit comments

Comments
 (0)