Skip to content

Commit 9fcc047

Browse files
committed
fix
1 parent 2745772 commit 9fcc047

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/features/sql-big-data-cluster/spark/data-virtualization/mssql_spark_connector_ad_pyspark.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
"print(\"MSSQL Spark Connector write(overwrite) start \")\r\n",
306306
"\r\n",
307307
"servername = \"jdbc:sqlserver://master-p-svc:1433\"\r\n",
308-
"dbname = \"mssql_spark_db\"\r\n",
308+
"dbname = \"spark_mssql_db\"\r\n",
309309
"security_spec = \";integratedSecurity=true;authenticationScheme=JavaKerberos;\"\r\n",
310310
"url = servername + \";\" + \"databaseName=\" + dbname + security_spec\r\n",
311311
"\r\n",
@@ -362,7 +362,7 @@
362362
" .option(\"dbtable\", dbtable) \\\r\n",
363363
" .option(\"url\", url) \\\r\n",
364364
" .option(\"dbtable\", dbtable) \\\r\n",
365-
" .option(\"principal\", user) \\\r\n",
365+
" .option(\"principal\", principal) \\\r\n",
366366
" .option(\"keytab\", keytab).load()\r\n",
367367
"\r\n",
368368
"jdbcDF.show(5)\r\n",

0 commit comments

Comments
 (0)