Zachgille commented on PR #27862:
URL: https://github.com/apache/datafusion/pull/27862#issuecomment-7312774094

   @paleolimbot thanks for the review! The leak case is covered in 
`cast_extension_type_metadata.slt`, lines 65–119: 
https://github.com/Zachgille/datafusion/blob/e631ff11ad3e89c48cb1bf07a8610bbd1e9acb35/datafusion/sqllogictest/test_files/cast_extension_type_metadata.slt#L65-L119
   
   It casts a value tagged only with `ARROW:extension:metadata` through `CAST`, 
`TRY_CAST`, `arrow_cast`, and `arrow_try_cast`, both constant-folded and from a 
table column, and expects the key to be gone (on `main`, all of these return 
`{"stale": 1}`). The last query checks that other metadata is kept.


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

Reply via email to