skywalking/oap-server
吴晟 Wu Sheng 7f7f604bed
Support `(str->long)` and `(str->int)` cast statements in OAL core engine. (#7907)
Enhance OAL engine core
* Fix `funcParamExpression` and `literalExpression` can't be used in the same aggregation function.
* Support cast statement in the OAL core engine.
* Support `(str->long)` and `(long)` for string to long cast statement.
* Support `(str->int)` and `(int)` for string to int cast statement.
* Support Long literal number in the OAL core engine.
* Support literal `string` as parameter of aggregation function.
* Add `attributeExpression` and `attributeExpressionSegment` in the OAL grammar tree to support `map` type for the
  attribute expression.

Besides added UTs, I locally tested these OAL scripts
```
mq_consume_latency = from((str->long)Service.tag["transmission.latency"]).longAvg();

mq_consume_latency = from((long)Service.tag["transmission.latency"]).longAvg();

mq_consume_latency = from((str->long)Service.tag["transmission.latency"]).filter((str->long)tag["transmission.latency"] > 0L).longAvg();
```
2021-10-12 14:33:23 +08:00
..
analyzer Enhance `get` generation mechanism of OAL engine, support map type of source's field. (#7904) 2021-10-11 21:04:06 +08:00
exporter Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
oal-grammar Support `(str->long)` and `(str->int)` cast statements in OAL core engine. (#7907) 2021-10-12 14:33:23 +08:00
oal-rt Support `(str->long)` and `(str->int)` cast statements in OAL core engine. (#7907) 2021-10-12 14:33:23 +08:00
server-alarm-plugin Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-cluster-plugin Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-configuration Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-core Enhance `get` generation mechanism of OAL engine, support map type of source's field. (#7904) 2021-10-11 21:04:06 +08:00
server-fetcher-plugin Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-health-checker Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-library Upgrade Armeria to 1.12, upgrade OpenSearch test version to 1.1.0 (#7866) 2021-10-08 19:45:33 +08:00
server-query-plugin Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-receiver-plugin Remove component definitions in Java codes. (#7893) 2021-10-11 00:37:03 +08:00
server-starter add:add the component-libraries about golang (#7906) 2021-10-12 00:32:31 +08:00
server-storage-plugin Revert mis-change, which makes the endpoint dependency breaking. (#7829) 2021-09-29 09:06:29 +08:00
server-telemetry Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-testing Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00
server-tools test: fix that E2E is not run, also add ElasticSearch 7.15 to test matrix (#7826) 2021-09-28 21:57:19 +08:00
pom.xml Begin 8.9.0 iteration (#7801) 2021-09-25 23:46:18 +08:00