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

Import Schema from CSV instead of DB #1338

Open
luqmanusman opened this issue Dec 18, 2023 · 1 comment
Open

Import Schema from CSV instead of DB #1338

luqmanusman opened this issue Dec 18, 2023 · 1 comment

Comments

@luqmanusman
Copy link

Is there any way to import schema directly from CSV file instead of DB ?

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

  • Database type (e.g. MySQL):
  • Database driver version (is you use a special one):
  • Your DDL (sample how to reproduce the issue):
  • Full command including arguments how you run SchemaSpy:

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 39):
  • Operating System and version (e.g. Windows 10):
  • Java version:
@npetzall
Copy link
Member

No, there isn't.

But for curiosity, is there a format for schemas in csv?

CSV is a pretty flat format, but if it follows say the tradition information_schema layout. There might be some interesting ways of working around it.

Like find or create a jdbc driver that reads CSV files. Since moste information in SchemaSpy can be retrieved with a custom query.

But the main(only) way is thru jdbc which is the api i Java for talking to databases.

Other possible workarounds is loading the csv into a temporary database that hopefully be run in a container.

What is the source Dbms?

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