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

omymodels.errors.NoTablesError: No tables was found in DDL input. #81

Closed
KrunchMuffin opened this issue Sep 30, 2021 · 8 comments
Closed

Comments

@KrunchMuffin
Copy link

Describe the bug
No tables was found in DDL input

To Reproduce
Steps to reproduce the behavior:
Generate my DDL from SSMS and import to OMM

Expected behavior
find tables to parse

Desktop (please complete the following information):

  • OS: [e.g. iOS] Win10

script.sql.txt

@xnuinside
Copy link
Owner

@KrunchMuffin hi, thanks for the report. Thanks for the sample) it will take a some time to support all things a huge ddl) by the way, I see [] near column names for the first time. What is DB that generate this?

@KrunchMuffin
Copy link
Author

KrunchMuffin commented Sep 30, 2021 via email

@xnuinside
Copy link
Owner

@KrunchMuffin got it, thanks :)

@xnuinside
Copy link
Owner

I started to add some statements in v0.20.0 version that I found in your script. Really thanks for the sample. But still a lot of work. I will report when will be the version, that support all of MSSQL things from your script.

@KrunchMuffin
Copy link
Author

How long before you add it to omymodels?

@xnuinside
Copy link
Owner

@KrunchMuffin I plan to add full support to queries from your sql file in 0.21.0 version, release it and update omymodels after that. I need few days more for that.

@xnuinside
Copy link
Owner

@KrunchMuffin I released 0.21.0. This this version your full script is parsed well. Tomorrow I will work on Omymodels updates. Will ping you here after release new version in OMyModels

@xnuinside
Copy link
Owner

@KrunchMuffin sorry for taken a long time, I thought release it with 0.11.0 version, but updates that I planned taken much more time.So just released version 0.10.1 https://pypi.org/project/omymodels/ with updated dependency to new simple-ddl-parser 0.21.1. But need also made in OMyModels changes - to remove [] from names before generate code.. it will takes more time. I created issue for this: xnuinside/omymodels#28. I will close this issue and let's continue in omymodels.

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

2 participants