You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/hdinsight/spark/apache-spark-connect-to-sql-database.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,7 +177,7 @@ In this section, we stream data into the **hvactable** that you already created
177
177
178
178
1. The output shows the schema of **HVAC.csv**. The **hvactable** has the same schema as well. The output lists the columns in the table.
179
179
180
-

180
+

181
181
182
182
1. Finally, use the following snippet to read data from the HVAC.csv and stream it into the **hvactable** in Azure SQL database. Paste the snippet in a code cell, replace the placeholder values with the values for your Azure SQL database, and then press **SHIFT + ENTER** to run.
3. Select **Install** for the Scala plugin that is featured in the new window.
52
52
@@ -79,7 +79,7 @@ Perform the following steps to install the Scala plugin:
79
79
|Project SDK| This will be blank on your first use of IDEA. Select **New...** and navigate to your JDK.|
80
80
|Spark Version|The creation wizard integrates the proper version for Spark SDK and Scala SDK. If the Spark cluster version is earlier than 2.0, select **Spark 1.x**. Otherwise, select **Spark2.x**. This example uses **Spark 2.3.0 (Scala 2.11.8)**.|
81
81
82
-

82
+

83
83
84
84
7. Select **Finish**.
85
85
@@ -122,7 +122,7 @@ Perform the following steps to install the Scala plugin:
122
122
123
123
16. Select **Apply**, and then select **OK**. You will then be returned to the project window.
124
124
125
-

125
+

126
126
127
127
128
128
17. From the left pane, navigate to **src** > **main** > **scala** > **com.microsoft.spark.example**, and then double-click **App** to open App.scala.
@@ -174,21 +174,21 @@ Perform the following steps to install the Scala plugin:
174
174
175
175
2. From the **Project Structure** window, navigate to **Artifacts** > **the plus symbol +** > **JAR** > **From modules with dependencies...**.
5. In the **Create JAR from Modules** window, ensure the **extract to the target JAR** option is selected, and then select **OK**. This setting creates a single JAR with all dependencies.
6. The **Output Layout** tab lists all the jars that are included as part of the Maven project. You can select and delete the ones on which the Scala application has no direct dependency. For the application, you are creating here, you can remove all but the last one (**SparkSimpleApp compile output**). Select the jars to delete and then select the negative symbol **-**.
Ensure sure the **Include in project build** checkbox is selected, which ensures that the jar is created every time the project is built or updated. Select **Apply** and then **OK**.
0 commit comments