Commit 96e8d8b
Add schema introspection and raw SQL support for Dremio adapters
Dremio Adapter Enhancements:
- Add FK introspection via pg_catalog for PostgreSQL sources
- Add table/column comments via pg_description
- Add nested type introspection via LIMIT 0 queries
- Add ADBC Flight SQL driver support (faster queries)
- Fix table path quoting for schemas with hyphens/spaces
- Add _qualify_table_names() for automatic table qualification
New Features:
- Add supports_sql property and execute_sql() to Database base class
- Add --sql flag to CLI query command for raw SQL execution
- Add execute_sql() to DuckDB adapter
The Dremio adapters now support:
- Schema introspection with FK relationships from PostgreSQL sources
- Raw SQL queries via CLI: linkml-store -d dremio://... query --sql '...'
- Automatic table name qualification when schema is configured
- Proper quoting of source names containing hyphens/spaces
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent a738f4b commit 96e8d8b
File tree
6 files changed
+1202
-32
lines changed- src/linkml_store
- api
- stores
- dremio_rest
- dremio
- duckdb
- tests
6 files changed
+1202
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
444 | 486 | | |
445 | 487 | | |
446 | 488 | | |
| |||
0 commit comments