gruuya opened a new pull request, #4304: URL: https://github.com/apache/arrow-datafusion/pull/4304
# Which issue does this PR close? Closes #4303. # Rationale for this change The simple fix for this is to split up the identifiers involved in the qualified table reference (schema and or catalog), and filter the `information_schema.columns` with that information, instead of using the table ref verbatim and filtering only by `table_name` column. # What changes are included in this PR? Extract the common information_schema `WHERE` qualifier construction, used in `SHOW COLUMNS` and `SHOW CREATE TABLE`, and use it when planning the `DESCRIBE` statement. Also add dev dependency to [test_case](https://docs.rs/test-case/0.3.1/test_case/) for more concise testing. # Are these changes tested? There are explicit tests for the partial and fully qualified table references in the `DESCRIBE` statement now. # Are there any user-facing changes? The `DESCRIBE` statement should return the correct result for partial or fully qualified table references. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
