cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion of SQL Server DDL to databricks ddl

JRDWaghmare
New Contributor

Hello All,

I want some tool which can be used in Databricks to convert my SQL Server DDL to my databricks DDL ,

For example, 

I have one DDL in SQL Server as below, 

 
CREATE TABLE [schema1].[table_1]
(
[BranchKey] [int] NOT NULL,
[Branch Code1] [int] NULL,
[Zone] [varchar](255) NULL,
[Region] [varchar](255) NULL,
[Br_Open_Date] [datetime] NULL,
[ZO_Banca_Manager_ECN] [int] NULL,
[ZO_Banca_Manager_Name] [varchar](255) NULL
)
WITH
(
DISTRIBUTION = ROUND_ROBIN,
CLUSTERED COLUMNSTORE INDEX
)

Now I don't want to write any code manually to change compatible datatypes to covert above sql server ddl to databricks 

 

Please help me to find some tool which allows me to convert this without any manual efforts. 

 

 

 

1 REPLY 1

daniel_sahal
Esteemed Contributor

@JRDWaghmare 

ReMorph transpiler could might be handy here.

https://github.com/databrickslabs/remorph

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group