Skip to content

Commit 059722f

Browse files
authored
Merge pull request #18629 from MicrosoftDocs/master
2/17 AM Publish
2 parents 129c084 + 78a4289 commit 059722f

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

docs/connect/spark/connector.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@ 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-
You can get the connector from [Maven](https://search.maven.org/search?q=spark-mssql-connector). To import the connector, use the coordinate `com.microsoft.azure:spark-mssql-connector:<latest version>`. 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).
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:
24+
25+
| Connector | Maven Coordinate |
26+
| --------- | ------------------ |
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` |
29+
30+
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).
2431

2532
## Supported Features
2633

@@ -32,8 +39,8 @@ You can get the connector from [Maven](https://search.maven.org/search?q=spark-m
3239

3340
| Component | Versions Supported |
3441
|--------------------------------------|---------------------------------|
35-
| Apache Spark | 2.4.5 (Spark 3.0 not supported) |
36-
| Scala | 2.11 |
42+
| Apache Spark | 2.4.5, 3.0.0 |
43+
| Scala | 2.11, 2.12 |
3744
| Microsoft JDBC Driver for SQL Server | 8.2 |
3845
| Microsoft SQL Server | SQL Server 2008 or later |
3946
| Azure SQL Databases | Supported |

docs/relational-databases/databases/move-user-databases.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ ms.author: "sstein"
4242
## Planned Relocation Procedure
4343
To move a data or log file as part of a planned relocation, follow these steps:
4444

45-
1. Run the following statement.
45+
1. For each file to be moved, run the following statement.
4646

4747
```
48-
ALTER DATABASE database_name SET OFFLINE;
48+
ALTER DATABASE database_name MODIFY FILE ( NAME = logical_name, FILENAME = 'new_path\os_file_name' );
4949
```
5050
51-
2. Move the file or files to the new location.
52-
53-
3. For each file moved, run the following statement.
51+
2. Run the following statement.
5452
5553
```
56-
ALTER DATABASE database_name MODIFY FILE ( NAME = logical_name, FILENAME = 'new_path\os_file_name' );
54+
ALTER DATABASE database_name SET OFFLINE;
5755
```
5856
57+
3. Move the file or files to the new location.
58+
5959
4. Run the following statement.
6060
6161
```

docs/relational-databases/databases/sql-server-data-files-in-microsoft-azure.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ For more information, see [Manage Access to Azure Storage Resources](/azure/stor
106106

107107
### <a name="bkmk_Limitations"></a> Limitations
108108

109+
- Due to the performance characteristics of SQL Server workloads, SQL Server data files are implemented as page blobs in Azure Blob Storage. Other types of blob storage such as block blobs or [Azure Data Lake Storage](https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction) are not supported.
110+
109111
- In the current release of this feature, storing **FileStream** data in Azure Storage is not supported. You can store **FileStream** data in a database that also contains data files stored in Azure Storage, but all FileStream data files must be stored on local storage. Since the FileStream data must reside on local storage, it cannot be moved between machines using Azure Storage, therefore we recommend that you continue using the [traditional techniques](../../relational-databases/blob/move-a-filestream-enabled-database.md) to move the data associated with FileStream between different machines.
110112

111113
- Currently, this new enhancement does not support more than one SQL Server instance accessing the same database files in Azure Storage at the same time. If ServerA is online with an active database file and if ServerB is accidentally started, and it also has a database which points to the same data file, the second server will fail to start the database with an error code **5120 Unable to open the physical file "%.\*ls". Operating system error %d: "%ls"**.

docs/relational-databases/views/create-indexed-views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ Indexes on tables and views can be disabled. When a clustered index on a table i
153153

154154
To create the view, a user needs to hold the **CREATE VIEW** permission in the database and **ALTER** permission on the schema in which the view is being created. If the base table resides within a different schema, the **REFERENCES** permission on the table is required as a minimum. If the User creating the Index differs from the Users who created the View, for the Index creation alone the **ALTER**-permission on the View is required (covered by ALTER on the schema).
155155

156-
> [!NOTE]
157-
> Indexes can only be created on views which have the same owner as the referenced table or tables. This is also called an intact **ownership-chain** between the view and the table(s). Typically, when table and view reside within the same schema, the same schema-owner applies to all objects within the schema. But it is possible that individual objects have different explicit owners. The column **principal_id** in sys.tables contains a value if the owner is different from the schema-owner.
156+
> [!NOTE]
157+
> Indexes can only be created on views which have the same owner as the referenced table or tables. This is also called an intact **ownership-chain** between the view and the table(s). Typically, when table and view reside within the same schema, the same schema-owner applies to all objects within the schema. Therefore its possible to create a view and not be the owner of the view. On the other hand is also possible that individual objects within a schema have different explicit owners. The column **principal_id** in sys.tables contains a value if the owner is different from the schema-owner.
158158
159159

160160
## <a name="TsqlProcedure"></a> Using Transact-SQL

0 commit comments

Comments
 (0)