Skip to content

Commit

Permalink
Azure Synapse Compatibility (airbytehq#18294)
Browse files Browse the repository at this point in the history
Integration tests for destionation-mssql are broken and I verified other CI checks on this PR: airbytehq#23851
  • Loading branch information
chte authored and danielduckworth committed Mar 13, 2023
1 parent a2647f7 commit c537e37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public String createTableQuery(final JdbcDatabase database, final String schemaN
"IF NOT EXISTS (SELECT * FROM sys.tables t JOIN sys.schemas s ON t.schema_id = s.schema_id "
+ "WHERE s.name = '%s' AND t.name = '%s') "
+ "CREATE TABLE %s.%s ( \n"
+ "%s VARCHAR(64) PRIMARY KEY,\n"
+ "%s VARCHAR(64) PRIMARY KEY NONCLUSTERED NOT ENFORCED,\n"
+ "%s NVARCHAR(MAX),\n" // Microsoft SQL Server specific: NVARCHAR can store Unicode meanwhile VARCHAR - not
+ "%s DATETIMEOFFSET(7) DEFAULT SYSDATETIMEOFFSET()\n"
+ ");\n",
Expand Down

0 comments on commit c537e37

Please sign in to comment.