kibana/packages/kbn-field-types
Stratoula Kalafateli 8a651ea5be
[ES|QL] Fixes the mapping of ES fields (#176665)
## Summary

When we created the ESQL strategy we used the same logic with SQL. But
this is not 100% correct. For example it converts the ip type fields to
strings, same as geo_points. This PR is fixing it.

So now if you run for example

```
from kibana_sample_data_logs | WHERE CIDR_MATCH(ip, "153.189.234.161/32", "127.0.0.3/32") | stats count(*)
```

the client side validation won't fail.
2024-02-12 17:18:33 +02:00
..
src [ES|QL] Fixes the mapping of ES fields (#176665) 2024-02-12 17:18:33 +02:00
index.ts [Obs ai assistant][ESQL] Visualizes a query (#174677) 2024-02-05 17:55:13 +02:00
jest.config.js [data] Extract @kbn/field-types to a package (#106973) 2021-07-30 06:34:17 -04:00
kibana.jsonc Update codeowners to move AppServices packages to DataDiscovery (#149065) 2023-01-18 13:34:28 -07:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md [data] Extract @kbn/field-types to a package (#106973) 2021-07-30 06:34:17 -04:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/field-types

Types and utilities for kbn and es field types