Skip to content

Commit d15910e

Browse files
authored
Merge pull request #31214 from devmaven/patch-1
updated limitation on partitioning with custom column
2 parents f6a4774 + f7f1870 commit d15910e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/stream-analytics/stream-analytics-custom-path-patterns-blob-storage-output.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Custom field or input attributes improve downstream data-processing and reportin
2121

2222
### Partition key options
2323

24-
The partition key, or column name, used to partition input data may contain alphanumeric characters with hyphens, underscores, and spaces. It is not possible to use nested fields as a partition key unless used in conjunction with aliases.
24+
The partition key, or column name, used to partition input data may contain alphanumeric characters with hyphens, underscores, and spaces. It is not possible to use nested fields as a partition key unless used in conjunction with aliases. The partition key must be NVARCHAR(MAX).
2525

2626
### Example
2727

@@ -53,11 +53,11 @@ Notice that each record in the blob has a **client_id** column matching the fold
5353
* cluster1/{date}/{aFieldInMyData}
5454
* cluster1/{time}/{aFieldInMyData}
5555
* cluster1/{aFieldInMyData}
56-
* cluster1/{date}/{time}/{aFieldInMyData}
57-
56+
* cluster1/{date}/{time}/{aFieldInMyData}
57+
5858
2. Partition keys are case insensitive, so partition keys like "John" and "john" are equivalent. Also, expressions cannot be used as partition keys. For example, **{columnA + columnB}** does not work.
5959

60-
3. When an input stream consists of records with a partition key cardinality under 8000, the records will be appended to existing blobs and only create new blobs when necessary. If the cardinality is over 8000 there is no guarantee existing blobs will be written to and new blobs won't be created for an arbitrary number of records with the same partition key.
60+
3. When an input stream consists of records with a partition key cardinality under 8000, the records will be appended to existing blobs and only create new blobs when necessary. If the cardinality is over 8000 there is no guarantee existing blobs will be written to and new blobs won't be created for an arbitrary number of records with the same partition key.
6161

6262
## Custom DateTime path patterns
6363

0 commit comments

Comments
 (0)