Skip to content

Commit 9f041ee

Browse files
committed
permissions feedback
1 parent 858bf8d commit 9f041ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ If you set the `autoCreateSqlTable` option to `true`, the sink will create a tab
118118

119119
### Permissions
120120

121+
At a minimum, writing log entries requires SELECT and INSERT permissions for the log table. (SELECT is required because the sink's batching behavior uses bulk inserts which reads the schema before the write operations begin).
122+
121123
SQL permissions are a very complex subject. Here is an example of one possible solution (valid for SQL 2012 or later):
122124

123125
```
@@ -154,7 +156,7 @@ There are many possible variations. For example, you could also create a new sch
154156

155157
## Id Column Options
156158

157-
Previous versions of this sink assumed the Id column is always present as an `int` `IDENTITY` primary key with a clustered index. Other configurations are available, however this is still the default strictly for backwards-compatibility reasons.
159+
Previous versions of this sink assumed the Id column is always present as an `int` `IDENTITY` primary key with a clustered index. Other configurations are available, however this is still the default for backwards-compatibility reasons.
158160

159161
You should consider your anticipated logging volume and query requirements carefully. The default setting is not especially useful in real-world query scenarios since a clustered index is primarily of use when the key is used for sorting or range searches, which will rarely be the case for the Id column.
160162

0 commit comments

Comments
 (0)