Commit a3f01fb
committed
ESQL: Add url_encode function
- Rename the capability to exclude the decoding portion, since this PR is only concerned with encoding.
- Mark url_encode as SNAPSHOT to allow changes in encoding logic.
- Add tests that use random strings to test a wide range of characters, that run alongside the ones that use random URLs.
- Minor change in the sample csv test string to showcase a fictional URL with path and few query params.1 parent 3ade9d1 commit a3f01fb
File tree
9 files changed
+71
-36
lines changed- docs
- changelog
- reference/query-languages/esql
- _snippets/functions/examples
- kibana
- definition/functions
- docs/functions
- x-pack/plugin/esql
- qa/testFixtures/src/main/resources
- src
- main
- generated/org/elasticsearch/xpack/esql/expression/function/scalar/convert
- java/org/elasticsearch/xpack/esql
- action
- expression/function/scalar/convert
- test/java/org/elasticsearch/xpack/esql/expression/function/scalar/convert
9 files changed
+71
-36
lines changedThis file was deleted.
Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2467 | 2467 | | |
2468 | 2468 | | |
2469 | 2469 | | |
2470 | | - | |
| 2470 | + | |
2471 | 2471 | | |
2472 | 2472 | | |
2473 | | - | |
2474 | | - | |
| 2473 | + | |
2475 | 2474 | | |
2476 | 2475 | | |
2477 | 2476 | | |
2478 | 2477 | | |
2479 | | - | |
2480 | | - | |
| 2478 | + | |
| 2479 | + | |
2481 | 2480 | | |
2482 | 2481 | | |
2483 | 2482 | | |
2484 | 2483 | | |
2485 | 2484 | | |
2486 | | - | |
2487 | | - | |
2488 | | - | |
2489 | | - | |
| 2485 | + | |
| 2486 | + | |
| 2487 | + | |
| 2488 | + | |
2490 | 2489 | | |
2491 | 2490 | | |
2492 | 2491 | | |
2493 | 2492 | | |
2494 | 2493 | | |
2495 | 2494 | | |
2496 | | - | |
| 2495 | + | |
2497 | 2496 | | |
2498 | 2497 | | |
2499 | | - | |
| 2498 | + | |
2500 | 2499 | | |
Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1392 | 1392 | | |
1393 | 1393 | | |
1394 | 1394 | | |
1395 | | - | |
| 1395 | + | |
1396 | 1396 | | |
1397 | | - | |
| 1397 | + | |
1398 | 1398 | | |
1399 | 1399 | | |
1400 | 1400 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
Lines changed: 41 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
41 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
42 | 54 | | |
43 | 55 | | |
44 | 56 | | |
| |||
49 | 61 | | |
50 | 62 | | |
51 | 63 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
55 | 84 | | |
56 | 85 | | |
57 | 86 | | |
58 | | - | |
| 87 | + | |
59 | 88 | | |
60 | 89 | | |
61 | 90 | | |
62 | 91 | | |
63 | 92 | | |
64 | 93 | | |
65 | | - | |
| 94 | + | |
66 | 95 | | |
67 | 96 | | |
68 | 97 | | |
69 | 98 | | |
70 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
71 | 104 | | |
72 | 105 | | |
0 commit comments