Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPL command expression implementation for geoip #3228

Merged
merged 78 commits into from
Jan 30, 2025
Merged
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
de5f3a5
Update grammar structure
andy-k-improving Dec 24, 2024
b0ff56e
Inteception points
andy-k-improving Dec 24, 2024
6533e21
Update dummy map values
andy-k-improving Dec 25, 2024
90ef4eb
Test
andy-k-improving Dec 25, 2024
e46a3c9
Geo integration
andy-k-improving Dec 25, 2024
0677050
Read ipString from user
andy-k-improving Dec 30, 2024
1f7f507
Read option from user input
andy-k-improving Dec 30, 2024
f7b6fed
Update changes
andy-k-improving Dec 31, 2024
bb6b672
Support multiple method signature
andy-k-improving Dec 31, 2024
9f3051d
Update result map format
andy-k-improving Dec 31, 2024
039c8c2
Code cleanup
andy-k-improving Dec 31, 2024
7341606
Spotless
andy-k-improving Dec 31, 2024
f1294b1
JavaDoc
andy-k-improving Dec 31, 2024
d68bdd0
Spotless
andy-k-improving Dec 31, 2024
151afd6
Update unit test
andy-k-improving Dec 31, 2024
8647055
Update unit-test wording
andy-k-improving Dec 31, 2024
6338b87
Update unit test for eval
andy-k-improving Jan 1, 2025
a59b6a7
Update doc
andy-k-improving Jan 1, 2025
5e72d0a
Unit test
andy-k-improving Jan 3, 2025
fe0c363
Unit-test 1
andy-k-improving Jan 3, 2025
a166f13
Update ipenrichment test-case
andy-k-improving Jan 4, 2025
7fa70fa
Update test-cases
andy-k-improving Jan 4, 2025
4826e69
Update gradle
andy-k-improving Jan 6, 2025
4bf98a3
Geo plugin test case
andy-k-improving Jan 7, 2025
ab80496
Comment out security plugin
andy-k-improving Jan 8, 2025
9e6f2b9
Geo ip index load
andy-k-improving Jan 9, 2025
53896cf
Update integ with data content assert
andy-k-improving Jan 9, 2025
e4ec572
Integ test for geoip
andy-k-improving Jan 9, 2025
675ebc9
Remove debug
andy-k-improving Jan 9, 2025
4cdd458
Gradle task refactor
andy-k-improving Jan 9, 2025
307c000
Remove duplicated urlDownload
andy-k-improving Jan 9, 2025
204b8b1
Refactor gradle script
andy-k-improving Jan 9, 2025
ab46a91
Refactor integ test
andy-k-improving Jan 9, 2025
8503176
Separate sscurity plugin test
andy-k-improving Jan 9, 2025
2ecd20c
Refactor gradle file
andy-k-improving Jan 9, 2025
03c5df6
Infer type
andy-k-improving Jan 10, 2025
1488034
Update java doc
andy-k-improving Jan 10, 2025
185ab9a
Simplifier provider
andy-k-improving Jan 10, 2025
ad9764c
Update test cases
andy-k-improving Jan 10, 2025
aa8abe5
Spotless check
andy-k-improving Jan 10, 2025
6c193de
Github action for GeoSpatial build
andy-k-improving Jan 10, 2025
3276f1f
Execlude geoip doc test
andy-k-improving Jan 10, 2025
02da983
Fix test
andy-k-improving Jan 10, 2025
15a196b
Test coverage
andy-k-improving Jan 11, 2025
ba8c1fc
Style fix
andy-k-improving Jan 11, 2025
f31b8c8
Update test caess
andy-k-improving Jan 13, 2025
b2bd6b0
Minimise diff
andy-k-improving Jan 13, 2025
cd4c5ea
Fix spot
andy-k-improving Jan 13, 2025
8bd98e8
Rebase
andy-k-improving Jan 21, 2025
eeefc50
Update test-cases
andy-k-improving Jan 22, 2025
058eaab
Update diff
andy-k-improving Jan 22, 2025
68396d9
Typo
andy-k-improving Jan 22, 2025
e5407bd
Update spotless
andy-k-improving Jan 22, 2025
738602e
Minimise diff
andy-k-improving Jan 22, 2025
cfd9970
Minimise diff
andy-k-improving Jan 22, 2025
e92ba96
Remove duplicated method
andy-k-improving Jan 22, 2025
43b3c93
Separate logic
andy-k-improving Jan 22, 2025
180822c
Spotless
andy-k-improving Jan 22, 2025
ccac16e
Update Java doc
andy-k-improving Jan 22, 2025
7019452
Doc fix
andy-k-improving Jan 22, 2025
41e99c6
Simplify Integtest
andy-k-improving Jan 22, 2025
a826375
Update doc
andy-k-improving Jan 22, 2025
11f8bad
Spotless
andy-k-improving Jan 22, 2025
9b735aa
Update comment
andy-k-improving Jan 22, 2025
c74f3fd
Update unitTest
andy-k-improving Jan 23, 2025
d981332
Update existing integTest
andy-k-improving Jan 23, 2025
241ea63
Spotless
andy-k-improving Jan 23, 2025
66e17ce
Doc fix
andy-k-improving Jan 28, 2025
3d79741
Address code reivews
andy-k-improving Jan 28, 2025
c3a9348
Update diff
andy-k-improving Jan 28, 2025
89f33e5
Minimise diff
andy-k-improving Jan 28, 2025
11abfd6
Update test-cases
andy-k-improving Jan 28, 2025
b77d557
Update docs/user/ppl/functions/ip.rst
andy-k-improving Jan 28, 2025
1b41d5f
Update opensearch/src/main/java/org/opensearch/sql/opensearch/planner…
andy-k-improving Jan 28, 2025
694b08c
Update spotless
andy-k-improving Jan 28, 2025
ebc451a
Update coverage
andy-k-improving Jan 29, 2025
fbcaf0d
Spotless
andy-k-improving Jan 29, 2025
96cc6f6
Update log
andy-k-improving Jan 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/user/ppl/functions/ip.rst
Co-authored-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Signed-off-by: Andy Kwok <andy.kwok@improving.com>
  • Loading branch information
andy-k-improving and acarbonetto committed Jan 28, 2025
commit b77d55709f90560c6d071615b510e2b3b4a3662a
2 changes: 1 addition & 1 deletion docs/user/ppl/functions/ip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ Example:
Note:
- `dataSourceName` must be an established dataSource on OpenSearch GeoSpatial plugin, detail of configuration can be found: https://opensearch.org/docs/latest/ingest-pipelines/processors/ip2geo/
- `ip` can be an IPv4 or an IPv6 address
- `options` is a comma separated String of fields to output: the selection of fields is subject to dataSourceProvider's schema. For example, the list of fields in the provided `geolite2-city` dataset includes: "country_iso_code", "country_name", "continent_name", "region_iso_code", "region_name", "city_name", "time_zone", "location"
- `options` is an optional String of comma separated fields to output: the selection of fields is subject to dataSourceProvider's schema. For example, the list of fields in the provided `geolite2-city` dataset includes: "country_iso_code", "country_name", "continent_name", "region_iso_code", "region_name", "city_name", "time_zone", "location"