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

SQL Parsing #1

Open
aidan-bailey opened this issue Aug 2, 2024 · 1 comment
Open

SQL Parsing #1

aidan-bailey opened this issue Aug 2, 2024 · 1 comment

Comments

@aidan-bailey
Copy link
Contributor

SQL Parsing

For the initial milestone, we're just taking in SQL as input (i.e., the source create tables & the target create tables, constraints and mappings). It follows then that we'll have manipulate this information in some way. In order to do this in the sophisticated manner required, we'll have to properly parse them.

JSqlParser looks to be a good candidate to accommodate this.

@aidan-bailey
Copy link
Contributor Author

Create Tables of the form:

CREATE TABLE ssqlt_test._person(ssn VARCHAR (100) NOT NULL,phone VARCHAR (100) NOT NULL,manager VARCHAR (100),title VARCHAR (100),city VARCHAR (100) NOT NULL,country VARCHAR (100) NOT NULL,mayor VARCHAR (100) NOT NULL,PRIMARY KEY (ssn,phone))

have been successfully parsed

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

1 participant