Support DESCRIBE <table>
to show table schemas
#2606
Labels
datafusion
Changes in the datafusion crate
enhancement
New feature or request
good first issue
Good for newcomers
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion mostly follows postgres when it comes to compatibility. However, it also supports some usability features from mysql, notably
SHOW TABLES
;It would be nice to also get basic schema information (column names, types) about a table using
DESCRIBE <TABLE>
Describe the solution you'd like
I would like to run this sequence of commands and get a nicely formatted output other than an error:
Here is what mysql does (the table definition is different than the example above):
Note that the information is accesable via information_schema so this ticket would just plumbing it all together:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: