-
- Downloads
Ensure consistent ordering of maps/sets when hashing metadata
This commit will ensure all hashes and sets are ordered before serializing them to JSON and hashing that string. This will prevent surprising behavior when the number of items in a map reach 9 or if the order of elements changes between machines or JDK versions. Fixes #8826
Showing
- src/metabase/query_processor/middleware/results_metadata.clj 23 additions, 4 deletionssrc/metabase/query_processor/middleware/results_metadata.clj
- test/metabase/query_processor/middleware/results_metadata_test.clj 31 additions, 0 deletions...base/query_processor/middleware/results_metadata_test.clj
Please register or sign in to comment