cloud-fan commented on code in PR #53631:
URL: https://github.com/apache/spark/pull/53631#discussion_r2652852348
##########
sql/api/src/main/scala/org/apache/spark/sql/types/Metadata.scala:
##########
@@ -339,6 +339,7 @@ class MetadataBuilder {
private def put(key: String, value: Any): this.type = {
map.put(key, value)
+ runtimeMap.remove(key)
Review Comment:
a small bug fix: The `map` and `runtimeMap` should be in sync always. If the
key has a regular value, then it should not have an expression value in
`runtimeMap` that was generated by a different value before.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]