HyukjinKwon commented on a change in pull request #31474:
URL: https://github.com/apache/spark/pull/31474#discussion_r570649690



##########
File path: docs/sql-migration-guide.md
##########
@@ -105,6 +105,8 @@ license: |
 
   - In Spark 3.0.2, `PARTITION(col=null)` is always parsed as a null literal 
in the partition spec. In Spark 3.0.1 or earlier, it is parsed as a string 
literal of its text representation, e.g., string "null", if the partition 
column is string type. To restore the legacy behavior, you can set 
`spark.sql.legacy.parseNullPartitionSpecAsStringLiteral` as true.
 
+  - In Spark 3.0.0, the output schema of `SHOW DATABASES` becomes `namespace: 
string`. In Spark version 2.4 and earlier, the schema was `databaseName: 
string`. Since Spark 3.0.2, you can restore to the old schema by setting 
`spark.sql.legacy.keepCommandOutputSchema` to `true`.

Review comment:
       ```suggestion
     - In Spark 3.0.0, the output schema of `SHOW DATABASES` becomes 
`namespace: string`. In Spark version 2.4 and earlier, the schema was 
`databaseName: string`. Since Spark 3.0.2, you can restore the old schema by 
setting `spark.sql.legacy.keepCommandOutputSchema` to `true`.
   ```




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to