gengliangwang opened a new pull request #31439:
URL: https://github.com/apache/spark/pull/31439
### What changes were proposed in this pull request?
This PR is to backport https://github.com/apache/spark/pull/31421 and
https://github.com/apache/spark/pull/31421 to branch 3.1
It is a follow up for https://github.com/apache/spark/pull/30538.
It adds a legacy conf
`spark.sql.legacy.parseNullPartitionSpecAsStringLiteral` in case users wants
the legacy behavior.
It also adds document for the behavior change.
### Why are the changes needed?
In case users want the legacy behavior, they can set
`spark.sql.legacy.parseNullPartitionSpecAsStringLiteral` as true.
### Does this PR introduce _any_ user-facing change?
Yes, adding a legacy configuration to restore the old behavior.
### How was this patch tested?
Unit test.
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]