https://github.com/apache/spark
Revision ebe4252e415e6afdf888e21d0b89ab744fd2dac7 authored by Wenchen Fan on 12 May 2022, 03:18:18 UTC, committed by Wenchen Fan on 12 May 2022, 03:18:35 UTC
### What changes were proposed in this pull request?

This is a bug of the command legacy mode as it does not fully restore to the legacy behavior. The legacy v1 SHOW DATABASES command does not quote the database names. This PR fixes it.

### Why are the changes needed?

bug fix

### Does this PR introduce _any_ user-facing change?

no change by default, unless people turn on legacy mode, in which case SHOW DATABASES common won't quote the database names.

### How was this patch tested?

new tests

Closes #36508 from cloud-fan/regression.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
(cherry picked from commit 3094e495095635f6c9e83f4646d3321c2a9311f4)
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent 65dd727
History
Tip revision: ebe4252e415e6afdf888e21d0b89ab744fd2dac7 authored by Wenchen Fan on 12 May 2022, 03:18:18 UTC
[SPARK-39149][SQL] SHOW DATABASES command should not quote database names under legacy mode
Tip revision: ebe4252

README.md

back to top