Hello @Aswini Dindukurthy ,
Thanks for the question and using MS Q&A platform.
You are experiencing this error message due to extra space between
.option("url", "hostname here:1433")and.option("dbtable", "dbo._Temp_001").
Note: Try to remove the space to resolve the issue.

For more details, refer to the below links:
Apache Spark connector: SQL Server & Azure SQL
Notebook - SQL Spark Connector - Python AAD Auth
Hope this helps. Do let us know if you any further queries.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
l4j library too.