79149927

Date: 2024-11-02 03:53:21
Score: 2
Natty:
Report link

after several hours of research I found this works perfectly fine

df = (spark.read.option(Constants.SERVER, "server_name.sql.azuresynapse.net").option(Constants.DATABASE, "db_name").synapsesql("select [Job Title] as JobTitle from dbo.TableName) )

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Usman Mushtaq