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 03:28:08 UTC
[I] State serialization can collapse distinct dictionary keys [texera]
carloea2 opened a new issue, #8215:
URL: https://github.com/apache/texera/issues/8215
### What happened?
State serialization converts every dictionary key to a string. Distinct Python keys can therefore collapse to the same JSON key and silently overwrite state.
Before: integer key 1 and string key 1 -> one stored value survives
After: any non-string state key -> TypeError before serialization
### How to reproduce?
Round-trip state containing a nested dictionary with integer key 1 and string key 1.
### Version/Branch
1.3.0-incubating-SNAPSHOT (main)
### Commit Hash
70c21145887920528d7d5540e3fb790b43e8b759
### What browsers are you seeing the problem on?
Not browser-specific.
### Relevant log output
```text
original= {'config': {1: 'integer key', '1': 'string key'}}
encoded= {"config":{"1":"string key"}}
round_trip_equal= False
```
--
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] State serialization can collapse distinct dictionary keys [texera]
Posted by "carloea2 (via GitHub)" <gi...@apache.org>.
carloea2 commented on issue #8215:
URL: https://github.com/apache/texera/issues/8215#issuecomment-5548203002
/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] State serialization can collapse distinct dictionary keys [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8215:
URL: https://github.com/apache/texera/issues/8215#issuecomment-5473328463
<!-- 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
Re: [I] State serialization can collapse distinct dictionary keys [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan closed issue #8215: State serialization can collapse distinct dictionary keys
URL: https://github.com/apache/texera/issues/8215
--
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