Commit e166b0e
committed
Fix url_encode_hive_values tests to avoid filesystem limitations
Changed test data from using forward slash (/) to plus (+) in partition
values, as forward slashes cannot be used in directory names on Unix/macOS
filesystems. The tests now use characters that are valid in filenames but
still demonstrate the URL encoding functionality:
- Space (encoded as %20)
- Plus + (encoded as %2B)
- Ampersand & (encoded as %26)
- Percent % (encoded as %25)
This ensures tests pass on all platforms while still validating that
url_encode_hive_values parameter correctly controls URL encoding behavior.1 parent 29d2325 commit e166b0e
File tree
2 files changed
+32
-28
lines changed- python/pyarrow/tests
- r/tests/testthat
2 files changed
+32
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2385 | 2385 | | |
2386 | 2386 | | |
2387 | 2387 | | |
| 2388 | + | |
| 2389 | + | |
2388 | 2390 | | |
2389 | 2391 | | |
2390 | | - | |
| 2392 | + | |
2391 | 2393 | | |
2392 | | - | |
| 2394 | + | |
2393 | 2395 | | |
2394 | 2396 | | |
2395 | | - | |
2396 | | - | |
| 2397 | + | |
| 2398 | + | |
2397 | 2399 | | |
2398 | 2400 | | |
2399 | | - | |
| 2401 | + | |
2400 | 2402 | | |
2401 | 2403 | | |
2402 | | - | |
| 2404 | + | |
2403 | 2405 | | |
2404 | 2406 | | |
2405 | | - | |
| 2407 | + | |
2406 | 2408 | | |
2407 | 2409 | | |
2408 | 2410 | | |
2409 | | - | |
| 2411 | + | |
2410 | 2412 | | |
2411 | 2413 | | |
2412 | | - | |
| 2414 | + | |
2413 | 2415 | | |
2414 | 2416 | | |
2415 | | - | |
| 2417 | + | |
2416 | 2418 | | |
2417 | 2419 | | |
2418 | | - | |
| 2420 | + | |
2419 | 2421 | | |
2420 | 2422 | | |
2421 | 2423 | | |
2422 | | - | |
| 2424 | + | |
2423 | 2425 | | |
2424 | 2426 | | |
2425 | 2427 | | |
2426 | 2428 | | |
2427 | | - | |
| 2429 | + | |
2428 | 2430 | | |
2429 | 2431 | | |
2430 | | - | |
| 2432 | + | |
2431 | 2433 | | |
2432 | 2434 | | |
2433 | 2435 | | |
| |||
2437 | 2439 | | |
2438 | 2440 | | |
2439 | 2441 | | |
2440 | | - | |
| 2442 | + | |
2441 | 2443 | | |
2442 | | - | |
| 2444 | + | |
2443 | 2445 | | |
2444 | 2446 | | |
2445 | 2447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1019 | 1019 | | |
1020 | 1020 | | |
1021 | 1021 | | |
1022 | | - | |
| 1022 | + | |
1023 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
1024 | 1026 | | |
1025 | 1027 | | |
1026 | | - | |
| 1028 | + | |
1027 | 1029 | | |
1028 | 1030 | | |
1029 | | - | |
| 1031 | + | |
1030 | 1032 | | |
1031 | 1033 | | |
1032 | 1034 | | |
1033 | | - | |
1034 | | - | |
| 1035 | + | |
| 1036 | + | |
1035 | 1037 | | |
1036 | 1038 | | |
1037 | | - | |
| 1039 | + | |
1038 | 1040 | | |
1039 | 1041 | | |
1040 | 1042 | | |
1041 | | - | |
| 1043 | + | |
1042 | 1044 | | |
1043 | 1045 | | |
1044 | | - | |
| 1046 | + | |
1045 | 1047 | | |
1046 | | - | |
| 1048 | + | |
1047 | 1049 | | |
1048 | 1050 | | |
1049 | | - | |
| 1051 | + | |
1050 | 1052 | | |
1051 | | - | |
| 1053 | + | |
1052 | 1054 | | |
1053 | 1055 | | |
1054 | 1056 | | |
1055 | | - | |
| 1057 | + | |
1056 | 1058 | | |
1057 | 1059 | | |
1058 | 1060 | | |
| |||
0 commit comments