datafusion icon indicating copy to clipboard operation
datafusion copied to clipboard

Implement "SHOW CREATE TABLE" for external tables

Open mirober opened this issue 3 years ago • 0 comments

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Following on from #2529, it would be good to support external tables in "SHOW CREATE TABLE", as spark does.

Describe the solution you'd like Implement TableProvider::get_table_definition for ListingTable, as in #2830. This will probably require implementing Display for DFStatement to convert it back into SQL, or generating SQL in register_listing_table.

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.

mirober avatar Jul 07 '22 10:07 mirober