Daniel Haviv created SPARK-37665:
------------------------------------
Summary: JDBC: Provide generic metadata functions
Key: SPARK-37665
URL: https://issues.apache.org/jira/browse/SPARK-37665
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.2.0
Reporter: Daniel Haviv
JDBC Driver vendors expose the metadata (databases/tables) for the underlying
engine through the [DatabaseMetaData
interface.|https://docs.oracle.com/javase/8/docs/api/java/sql/DatabaseMetaData.html]
Today when a user wants to fetch the metadata for an engine, they have to
execute an sql statement that is tailored to a specific engine/syntax instead
of using a more generic approach.
I suggest we add two new functions to the JDBC reader:
{code:java}
listDatabases & listTables{code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]