You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inconsistent behavoir of update set map = / += #927
Activity
topofocus commentedon Mar 10, 2023
Upon further tests:
The alternative syntax
works
lvca commentedon Mar 10, 2023
@topofocus so this is the only one that doesn't work, right?
update XXX set bars += { "2023-03-08": { "volume": 134 }}
topofocus commentedon Mar 11, 2023
only
update XXX set bars += [ "2023-03-08": { "volume": 134 } ]and the old form
update XXX set bars.2023-03-08= { "volume": 134 } ]work
lvca commentedon Mar 15, 2023
I found this test case (that works) in our code base:
So it could be related to the fact that a map has another map embedded. Checking it....
lvca commentedon Mar 15, 2023
Just created this new test case base on your input and works with the latest version:
How this is different from yours?
test: added test case for issue #927
topofocus commentedon Mar 15, 2023
Just checked:
5.03.(18:37:12) INFO->Q: update #31:0 set d += {'testkey3': { 'nested_key3': 'nested_value3'} }
15.03.(18:37:12) INFO->Q: update #31:0 set d += ['testkey4', { 'nested_key4': 'nested_value4' }
are producing identical results now.
Did not change anything, but now my tests also pass ...
lvca commentedon Mar 15, 2023
Which version did you test with? Still the 23.2.1 reported at the beginning of the issue or the most recent one?
chore(deps): bump actions/setup-java from 5.0.0 to 5.1.0 [skip ci]
chore(deps): bump io.github.ascopes:protobuf-maven-plugin from 4.1.2 …
chore(deps): bump uuid and testcontainers in /e2e-js [skip ci]
test: added test case for issue ArcadeData#927
chore(deps): bump actions/setup-java from 5.0.0 to 5.1.0 [skip ci]
chore(deps): bump io.github.ascopes:protobuf-maven-plugin from 4.1.2 …
chore(deps): bump uuid and testcontainers in /e2e-js [skip ci]