Skip to content

Commit b63bf07

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/sql-docs-pr into release-remove-sscurrent-tag
2 parents 44e4100 + 5936d02 commit b63bf07

3 files changed

Lines changed: 31 additions & 8 deletions

File tree

docs/connect/spark/connector.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Apache Spark connector for SQL Server"
33
description: "Learn how to use the Apache Spark connector for SQL Server."
44
ms.custom: ""
5-
ms.date: 08/31/2020
5+
ms.date: 04/23/2021
66
ms.prod: sql
77
ms.prod_service: connectivity
88
ms.technology: connectivity
@@ -20,12 +20,12 @@ This library contains the source code for the Apache Spark Connector for SQL Ser
2020

2121
[Apache Spark](https://spark.apache.org/) is a unified analytics engine for large-scale data processing.
2222

23-
There are two versions of the connector available through Maven, a 2.4.5 compatible version and a 3.0.0 compatible version. Both versions can be found [here](https://search.maven.org/search?q=spark-mssql-connector) and can be imported using the coordinates below:
23+
There are two versions of the connector available through Maven, a 2.4.x compatible version and a 3.0.x compatible version. Both versions can be found [here](https://search.maven.org/search?q=spark-mssql-connector) and can be imported using the coordinates below:
2424

2525
| Connector | Maven Coordinate |
2626
| --------- | ------------------ |
27-
| Spark 2.4.5 compatible connnector | `com.microsoft.azure:spark-mssql-connector:1.0.1` |
28-
| Spark 3.0.0 compatible connnector | `com.microsoft.azure:spark-mssql-connector_2.12_3.0:1.0.0-alpha` |
27+
| Spark 2.4.x compatible connnector | `com.microsoft.azure:spark-mssql-connector_2.11_2.4:1.0.2` |
28+
| Spark 3.0.x compatible connnector | `com.microsoft.azure:spark-mssql-connector_2.12_3.0:1.0.0-alpha` |
2929

3030
You can also build the connector from source or download the jar from the Release section in GitHub. For the latest information about the connector, see [SQL Spark connector GitHub repository](https://github.com/microsoft/sql-spark-connector).
3131

@@ -39,9 +39,9 @@ You can also build the connector from source or download the jar from the Releas
3939

4040
| Component | Versions Supported |
4141
|--------------------------------------|---------------------------------|
42-
| Apache Spark | 2.4.5, 3.0.0 |
42+
| Apache Spark | 2.4.x, 3.0.x |
4343
| Scala | 2.11, 2.12 |
44-
| Microsoft JDBC Driver for SQL Server | 8.2 |
44+
| Microsoft JDBC Driver for SQL Server | 8.4 |
4545
| Microsoft SQL Server | SQL Server 2008 or later |
4646
| Azure SQL Databases | Supported |
4747

docs/sql-server/sql-server-privacy.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,11 @@ This article summarizes Internet-enabled features that can collect and send anon
2020

2121
This article serves as an addendum to the overall [Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839). The data classification in this article only applies to versions of the SQL Server on-premises product. It does not apply to the items:
2222

23-
- Azure SQL Database
2423
- [SQL Server Management Studio (SSMS)](../ssms/sql-server-management-studio-telemetry-ssms.md)
2524
- SQL Server Data Tools (SSDT)
2625
- Azure Data Studio
2726
- [Database Migration Assistant (DMA)](../dma/dma-diagnostic-data-collection.md)
2827
- [SQL Server Migration Assistant (SSMA)](../ssma/ssma-diagnostic-data-collection.md)
29-
- MS-SQL Extension
3028

3129
Definition of *Permitted usage Scenarios*. For the context of this article, Microsoft defines "Permitted Usages Scenarios" as actions or activities that are initiated by Microsoft.
3230

docs/t-sql/statements/revoke-transact-sql.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,31 @@ The use of AS in this statement does not imply the ability to impersonate anothe
193193
|User|[REVOKE Database Principal Permissions (Transact-SQL)](../../t-sql/statements/revoke-database-principal-permissions-transact-sql.md)|
194194
|View|[REVOKE Object Permissions (Transact-SQL)](../../t-sql/statements/revoke-object-permissions-transact-sql.md)|
195195
|XML Schema Collection|[REVOKE XML Schema Collection Permissions (Transact-SQL)](../../t-sql/statements/revoke-xml-schema-collection-permissions-transact-sql.md)|
196+
197+
198+
## Examples
199+
200+
### A. Grant and revoke
201+
**APPLIES TO:** [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)], [!INCLUDE[ssSDS](../../includes/sssds-md.md)]
202+
203+
The following example creates a schema, a contained database user, and a new role on a user database. It adds the user to the role, grants SELECT permission on the schema to the role, and then removes (`REVOKE`) that permission to the role.
204+
205+
206+
```sql
207+
CREATE SCHEMA Sales;
208+
GO
209+
CREATE USER Joe without login;
210+
GO
211+
CREATE ROLE Vendors;
212+
GO
213+
ALTER ROLE Vendors ADD MEMBER Joe;
214+
GO
215+
GRANT SELECT ON SCHEMA :: Sales TO Vendors;
216+
GO
217+
REVOKE SELECT ON SCHEMA :: Sales TO Vendors;
218+
GO
219+
220+
```
196221

197222
## See Also
198223
[Permissions Hierarchy (Database Engine)](../../relational-databases/security/permissions-hierarchy-database-engine.md)

0 commit comments

Comments
 (0)