Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Babelfish supported Cleaned DDL version of database DDL file #42

Open
amuja opened this issue Jan 13, 2022 · 2 comments
Open

Babelfish supported Cleaned DDL version of database DDL file #42

amuja opened this issue Jan 13, 2022 · 2 comments

Comments

@amuja
Copy link

amuja commented Jan 13, 2022

Hi,

Can we have compass to produce the supported version on DDL file as it accepts the input DDL file to produce the comptability output for the database, can this be further enhanced upon to convert the compatibility to actually DDL file for supported DDL's so customers can simply take this file and run against BBF endpoint rather having to do this manually by themselves.

Regards,
Asif

@amuja amuja changed the title Babelfish supported Cleaned DDL version of SQL DDL file Babelfish supported Cleaned DDL version of database DDL file Jan 13, 2022
@brtrvn
Copy link
Contributor

brtrvn commented Jan 14, 2022

Babelfish Compass is designed as a compatibility assessment tool (hence the name COMPatibility ASSessment) not as a conversion tool. I will let the core maintainers comment on whether this feature request matches the roadmap and overall purpose for Babelfish Compass in the future.

@robverschoor
Copy link
Collaborator

Actually the next version of Compass (v.1.2) will provide a feature to rewrite certain statements and constructs which Babelfish does not support, with statements/constructs that are supported. This way, we can provide some mitigation to users while Babelfish itself is not yet fully there in some cases.
Constructs eligible for rewriting currently include: MERGE statement' ALTER TABLE..ADD for multiple items; WAITFOR DELAY; numeric DATETIME representation; and some selected builtin/ODBC functions.

As for the request above: there may be a better way to avoid raising unnecessary errors (like for ALTER DATABASE) by using the already existing 'escape hatch' mechanism in Babelfish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants