Commit 5660dba
[SPARK-53334][CONNECT]
### What changes were proposed in this pull request?
- use `LinkedHashMap` in the `typedLit` test
- make `LiteralValueProtoConverter` keep the order of input map
### Why are the changes needed?
It might increase randomness of transformed literal values, e.g. the `typedLit` test, it is non-determinisitc
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #52078 from zhengruifeng/proto_test_map.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>LiteralValueProtoConverter should keep the order of input map1 parent 33df1b6 commit 5660dba
File tree
2 files changed
+16
-5
lines changed- sql/connect
- client/jvm/src/test/scala/org/apache/spark/sql
- common/src/main/scala/org/apache/spark/sql/connect/common
2 files changed
+16
-5
lines changedLines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3405 | 3405 | | |
3406 | 3406 | | |
3407 | 3407 | | |
3408 | | - | |
| 3408 | + | |
3409 | 3409 | | |
3410 | 3410 | | |
3411 | 3411 | | |
| |||
3414 | 3414 | | |
3415 | 3415 | | |
3416 | 3416 | | |
3417 | | - | |
3418 | | - | |
3419 | | - | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
| 3422 | + | |
| 3423 | + | |
| 3424 | + | |
| 3425 | + | |
| 3426 | + | |
| 3427 | + | |
| 3428 | + | |
| 3429 | + | |
| 3430 | + | |
3420 | 3431 | | |
3421 | 3432 | | |
3422 | 3433 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
0 commit comments