duckdb / duckdb-java

DuckDB JDBC Driver
https://duckdb.org/docs/api/java.html
MIT License
41 stars 21 forks source link

Metadata Functions for SchemaSpy #26

Open joshuashaffer opened 5 months ago

joshuashaffer commented 5 months ago

I was trying to run SchemaSpy on a DuckDB database with indices defined, and it was dying after throwing a host of exceptions related to missing metadata functions. I took a stab at implementing the ones it was complaining about, and it seems to work now by producing diagrams. (There are still a few left, but they seem recoverable.)

I'm not a JDBC expert, so I don't know if this is good enough. Is this good enough for a PR, or what else would you like to see?

Mause commented 5 months ago

Hey there, those look great - if you're able to write some quick tests I'd be happy to merge those