You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/08/31 06:21:14 UTC
[I] Copying a Python tuple shares mutable field storage [texera]
carloea2 opened a new issue, #8270:
URL: https://github.com/apache/texera/issues/8270
### What happened?
Constructing a `Tuple` from another `Tuple` reuses the same internal ordered dictionary. Assigning a field on either tuple therefore changes the other tuple as well. An operator that creates and edits a derived tuple can silently mutate its input row.
Before: copied tuples share field storage and leak assignments in both directions.
Expected: a tuple copy starts with the same fields but has independent field mapping storage.
### How to reproduce?
1. Create `original = Tuple({"x": 1})`.
2. Create `copied = Tuple(original)`.
3. Assign `copied["x"] = 2` and observe that `original["x"]` also becomes 2.
### Version or branch
1.3.0-incubating-SNAPSHOT on main
### Commit hash
50321e403c82df299a13deb50a7f9849dd93bdba
### Relevant log output
original_x=2 derived_x=2 same_storage=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.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Copying a Python tuple shares mutable field storage [texera]
Posted by "carloea2 (via GitHub)" <gi...@apache.org>.
carloea2 commented on issue #8270:
URL: https://github.com/apache/texera/issues/8270#issuecomment-5548200274
/take
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Copying a Python tuple shares mutable field storage [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8270:
URL: https://github.com/apache/texera/issues/8270#issuecomment-5474548191
<!-- texera:template-compliance -->
👋 Thanks for opening this issue, @carloea2!
It looks like the issue description doesn't quite follow our template yet:
- This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org