This is an automated email from the ASF dual-hosted git repository.
hanahmily pushed a change to branch query-criteria
in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
omit 13e3321 Polish stream query
omit eb2f074 Need to be squahsed
add f5b77d9 Bump up api pulgins (#173)
add 594f530 Update official doc path (#174)
add 40adf38 Stream and measure schema management (#175)
add 528a548 Need to be squahsed
add 3cb6d50 Polish stream query
add 3dcd22a Add measure test cases
add cd97de4 Update all tests
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (13e3321)
\
N -- N -- N refs/heads/query-criteria (cd97de4)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/e2e.storage.yml | 3 +-
Makefile | 10 +-
README.md | 2 +-
api/proto/buf.lock | 6 +-
api/proto/buf.yaml | 4 +-
banyand/liaison/grpc/grpc_suite_test.go | 3 -
banyand/liaison/grpc/measure_test.go | 171 -
banyand/liaison/grpc/registry_test.go | 14 +
banyand/liaison/grpc/stream_test.go | 233 -
banyand/measure/measure_query_test.go | 283 -
banyand/measure/measure_write_test.go | 140 -
.../measure/testdata/service_cpm_minute_data.json | 92 -
banyand/query/processor.go | 105 +-
dist/LICENSE | 15 +-
.../license-asynckit.txt} | 2 +-
.../{license-core-js.txt => license-axios.txt} | 2 +-
.../license-combined-stream.txt} | 4 +-
.../license-delayed-stream.txt} | 4 +-
.../license-follow-redirects.txt} | 20 +-
dist/licenses/ui-licenses/license-form-data.txt | 19 +
dist/licenses/ui-licenses/license-mime-db.txt | 23 +
dist/licenses/ui-licenses/license-mime-types.txt | 23 +
...dules-picocolors.txt => license-picocolors.txt} | 0
...ode-modules-postcss.txt => license-postcss.txt} | 0
.../license-vue-cli-plugin-axios.txt} | 2 +-
go.mod | 3 +-
go.sum | 1 -
pkg/query/logical/common.go | 6 +-
pkg/query/logical/common_test.go | 224 -
pkg/query/logical/expr.go | 14 +-
pkg/query/logical/expr_literal.go | 2 +-
pkg/query/logical/index_filter.go | 20 +-
pkg/query/logical/iter.go | 6 +-
pkg/query/logical/measure/measure_analyzer.go | 65 +-
pkg/query/logical/measure/measure_analyzer_test.go | 387 -
pkg/query/logical/measure/measure_plan.go | 50 +-
.../logical/measure/measure_plan_aggregation.go | 99 +-
.../logical/measure/measure_plan_execution_test.go | 443 -
pkg/query/logical/measure/measure_plan_groupby.go | 89 +-
.../measure/measure_plan_indexscan_local.go | 225 +-
pkg/query/logical/measure/measure_plan_top.go | 61 +-
pkg/query/logical/measure/measure_top_test.go | 6 +-
pkg/query/logical/measure/schema.go | 78 +-
pkg/query/logical/plan.go | 136 +
pkg/query/logical/stream/schema.go | 32 +-
pkg/query/logical/stream/stream_analyzer.go | 22 +-
pkg/query/logical/stream/stream_plan.go | 137 -
pkg/query/logical/stream/stream_plan_tag_filter.go | 22 +-
pkg/query/logical/tag_filter.go | 88 +-
pkg/test/helpers/context.go | 55 +
pkg/test/retry.go | 42 -
pkg/test/setup.go | 107 -
.../test/setup/setup.go | 111 +-
pkg/test/setup_test.go | 107 -
{pkg => test}/Makefile | 4 +-
test/cases/measure/data/data.go | 129 +
.../cases/measure/data/input/all.yaml | 14 +-
.../cases/measure/data/input/bottom.yaml | 35 +-
.../cases/measure/data/input/entity.yaml | 39 +-
.../cases/measure/data/input/group_max.yaml | 23 +-
.../cases/measure/data/input/group_no_field.yaml | 19 +-
.../cases/measure/data/input/limit.yaml | 16 +-
.../cases/measure/data/input/match_node.yaml | 19 +-
.../cases/measure/data/input/match_nodes.yaml | 19 +-
.../cases/measure/data/input/no_field.yaml | 21 +-
.../cases/measure/data/input/order_asc.yaml | 16 +-
.../cases/measure/data/input/order_desc.yaml | 16 +-
.../cases/measure/data/input/tag_filter.yaml | 21 +-
.../measure/data/input/tag_filter_unknown.yaml | 21 +-
.../cases/measure/data/input/top.yaml | 35 +-
.../data/testdata/service_cpm_minute_data.json | 0
.../data}/testdata/service_cpm_minute_data1.json | 0
.../testdata/service_instance_traffic_data.json | 0
.../data}/testdata/service_traffic_data.json | 0
test/cases/measure/data/want/all.yaml | 138 +
.../cases/measure/data/want/bottom.yaml | 38 +-
.../cases/measure/data/want/entity.yaml | 17 +-
.../cases/measure/data/want/group_max.yaml | 42 +-
.../cases/measure/data/want/group_no_field.yaml | 35 +-
.../cases/measure/data/want/limit.yaml | 38 +-
.../cases/measure/data/want/match_node.yaml | 20 +-
.../cases/measure/data/want/match_nodes.yaml | 20 +-
.../cases/measure/data/want/no_field.yaml | 17 +-
test/cases/measure/data/want/order_asc.yaml | 114 +
test/cases/measure/data/want/order_desc.yaml | 114 +
.../cases/measure/data/want/tag_filter.yaml | 22 +-
.../cases/measure/data/want/top.yaml | 38 +-
test/cases/measure/data/want/update.yaml | 138 +
test/cases/measure/measure.go | 53 +
test/cases/stream/input/all.yaml | 17 +
.../cases/stream/input/filter_tag.yaml | 37 +-
.../cases/stream/input/filter_tag_empty.yaml | 37 +-
test/cases/stream/input/global_index.yaml | 17 +
test/cases/stream/input/having.yaml | 17 +
test/cases/stream/input/less.yaml | 17 +
test/cases/stream/input/less_eq.yaml | 17 +
test/cases/stream/input/limit.yaml | 17 +
test/cases/stream/input/logical.yaml | 17 +
test/cases/stream/input/offset.yaml | 17 +
test/cases/stream/input/search.yaml | 17 +
test/cases/stream/input/sort_desc.yaml | 17 +
test/cases/stream/stream.go | 139 +-
test/cases/stream/testdata/data.json | 13 +-
test/cases/stream/want/all.yaml | 19 +-
.../cases/stream/want/filter_tag.yaml | 18 +-
test/cases/stream/want/global_index.yaml | 19 +-
test/cases/stream/want/having.yaml | 18 +-
test/cases/stream/want/less.yaml | 18 +-
test/cases/stream/want/less_eq.yaml | 17 +
test/cases/stream/want/limit.yaml | 17 +
test/cases/stream/want/logical.yaml | 18 +-
test/cases/stream/want/offset.yaml | 17 +
test/cases/stream/want/search.yaml | 17 +
test/cases/stream/want/sort_desc.yaml | 18 +-
.../templates/searchable_template.json | 12 -
test/cases/stream_tests/write.go | 30 -
test/e2e-v2/cases/profiling/ebpf/sqrt.go | 1 +
test/integration/other/measure_test.go | 64 +
.../integration/other/other_suite_test.go | 14 +-
.../integration/other}/testdata/server_cert.pem | 0
.../integration/other}/testdata/server_key.pem | 0
test/integration/other/tls_test.go | 68 +
test/integration/query/query_suite_test.go | 92 +
test/stress/stress_suite_test.go | 122 -
api/buf.work.yaml => ui/.browserslistrc | 6 +-
ui/LICENSE | 15 +-
ui/README.md | 12 +-
ui/jsconfig.json | 19 +
ui/package-lock.json | 19481 +++++--------------
ui/package.json | 25 +-
ui/src/App.vue | 59 +-
ui/src/api/index.js | 90 +
ui/src/components/HeaderComponent.vue | 3 +-
.../databaseComponents/MainComponent.vue | 22 +-
.../databaseComponents/TagNavigationComponent.vue | 4 +-
.../asideComponents/AsideComponent.vue | 760 +-
.../asideComponents/DialogResourcesComponent.vue | 197 +
.../asideComponents/RightMenuComponent.vue | 14 +-
.../asideComponents/RightMenuItemComponent.vue | 6 +-
.../mainComponents/DataTableComponent.vue | 236 +-
.../mainComponents/DrawerRightComponent.vue | 106 +-
.../mainComponents/SecondNavigationComponent.vue | 88 +-
.../drawerRightComponents/DetailListComponent.vue | 6 +-
.../drawerRightComponents/DetailTableComponent.vue | 55 +-
ui/src/main.js | 9 +-
ui/src/store/menuState.js | 14 +-
ui/src/store/tags.js | 24 +-
ui/src/utils/axios.js | 94 +
148 files changed, 9144 insertions(+), 18305 deletions(-)
delete mode 100644 banyand/liaison/grpc/measure_test.go
delete mode 100644 banyand/liaison/grpc/stream_test.go
delete mode 100644 banyand/measure/measure_query_test.go
delete mode 100644 banyand/measure/measure_write_test.go
delete mode 100644 banyand/measure/testdata/service_cpm_minute_data.json
copy dist/licenses/{license-github.com-SkyAPM-clock.txt =>
ui-licenses/license-asynckit.txt} (97%)
copy dist/licenses/ui-licenses/{license-core-js.txt => license-axios.txt} (96%)
copy dist/licenses/{license-github.com-mitchellh-mapstructure.txt =>
ui-licenses/license-combined-stream.txt} (94%)
copy dist/licenses/{license-github.com-mitchellh-mapstructure.txt =>
ui-licenses/license-delayed-stream.txt} (94%)
copy dist/licenses/{license-go.etcd.io-bbolt.txt =>
ui-licenses/license-follow-redirects.txt} (50%)
create mode 100644 dist/licenses/ui-licenses/license-form-data.txt
create mode 100644 dist/licenses/ui-licenses/license-mime-db.txt
create mode 100644 dist/licenses/ui-licenses/license-mime-types.txt
rename dist/licenses/ui-licenses/{license-vue-node-modules-picocolors.txt =>
license-picocolors.txt} (100%)
rename dist/licenses/ui-licenses/{license-vue-node-modules-postcss.txt =>
license-postcss.txt} (100%)
copy dist/licenses/{license-github.com-json-iterator-go.txt =>
ui-licenses/license-vue-cli-plugin-axios.txt} (96%)
delete mode 100644 pkg/query/logical/common_test.go
delete mode 100644 pkg/query/logical/measure/measure_analyzer_test.go
delete mode 100644 pkg/query/logical/measure/measure_plan_execution_test.go
create mode 100644 pkg/query/logical/plan.go
delete mode 100644 pkg/query/logical/stream/stream_plan.go
delete mode 100644 pkg/test/retry.go
rename test/integration/integration_suite_test.go => pkg/test/setup/setup.go
(51%)
delete mode 100644 pkg/test/setup_test.go
copy {pkg => test}/Makefile (94%)
create mode 100644 test/cases/measure/data/data.go
copy api/buf.work.yaml => test/cases/measure/data/input/all.yaml (81%)
copy api/proto/buf.yaml => test/cases/measure/data/input/bottom.yaml (65%)
copy banyand/Makefile => test/cases/measure/data/input/entity.yaml (64%)
copy api/buf.work.yaml => test/cases/measure/data/input/group_max.yaml (69%)
copy pkg/Makefile => test/cases/measure/data/input/group_no_field.yaml (78%)
copy api/buf.work.yaml => test/cases/measure/data/input/limit.yaml (80%)
copy api/buf.work.yaml => test/cases/measure/data/input/match_node.yaml (76%)
copy api/buf.work.yaml => test/cases/measure/data/input/match_nodes.yaml (76%)
copy pkg/Makefile => test/cases/measure/data/input/no_field.yaml (75%)
copy api/buf.work.yaml => test/cases/measure/data/input/order_asc.yaml (79%)
copy api/buf.work.yaml => test/cases/measure/data/input/order_desc.yaml (79%)
copy api/buf.work.yaml => test/cases/measure/data/input/tag_filter.yaml (74%)
copy api/buf.work.yaml =>
test/cases/measure/data/input/tag_filter_unknown.yaml (74%)
copy api/proto/buf.yaml => test/cases/measure/data/input/top.yaml (65%)
copy pkg/query/logical/testdata/measure_top_data.json =>
test/cases/measure/data/testdata/service_cpm_minute_data.json (100%)
rename {banyand/measure =>
test/cases/measure/data}/testdata/service_cpm_minute_data1.json (100%)
copy pkg/query/logical/testdata/measure_search_data.json =>
test/cases/measure/data/testdata/service_instance_traffic_data.json (100%)
rename {banyand/measure =>
test/cases/measure/data}/testdata/service_traffic_data.json (100%)
create mode 100644 test/cases/measure/data/want/all.yaml
copy api/proto/buf.yaml => test/cases/measure/data/want/bottom.yaml (65%)
copy api/buf.work.yaml => test/cases/measure/data/want/entity.yaml (79%)
copy api/buf.work.yaml => test/cases/measure/data/want/group_max.yaml (56%)
copy api/proto/buf.yaml => test/cases/measure/data/want/group_no_field.yaml
(66%)
copy api/buf.work.yaml => test/cases/measure/data/want/limit.yaml (59%)
copy api/buf.work.yaml => test/cases/measure/data/want/match_node.yaml (74%)
copy api/buf.work.yaml => test/cases/measure/data/want/match_nodes.yaml (74%)
copy api/buf.work.yaml => test/cases/measure/data/want/no_field.yaml (79%)
create mode 100644 test/cases/measure/data/want/order_asc.yaml
create mode 100644 test/cases/measure/data/want/order_desc.yaml
copy api/buf.work.yaml => test/cases/measure/data/want/tag_filter.yaml (74%)
copy api/proto/buf.yaml => test/cases/measure/data/want/top.yaml (65%)
create mode 100644 test/cases/measure/data/want/update.yaml
create mode 100644 test/cases/measure/measure.go
copy api/proto/buf.yaml => test/cases/stream/input/filter_tag.yaml (65%)
copy api/proto/buf.yaml => test/cases/stream/input/filter_tag_empty.yaml (65%)
copy api/buf.work.yaml => test/cases/stream/want/filter_tag.yaml (77%)
delete mode 100644 test/cases/stream_tests/templates/searchable_template.json
delete mode 100644 test/cases/stream_tests/write.go
create mode 100644 test/integration/other/measure_test.go
copy banyand/liaison/grpc/grpc_suite_test.go =>
test/integration/other/other_suite_test.go (87%)
rename {banyand/liaison/grpc =>
test/integration/other}/testdata/server_cert.pem (100%)
rename {banyand/liaison/grpc =>
test/integration/other}/testdata/server_key.pem (100%)
create mode 100644 test/integration/other/tls_test.go
create mode 100644 test/integration/query/query_suite_test.go
delete mode 100644 test/stress/stress_suite_test.go
copy api/buf.work.yaml => ui/.browserslistrc (95%)
create mode 100644 ui/jsconfig.json
create mode 100644 ui/src/api/index.js
create mode 100644
ui/src/components/databaseComponents/asideComponents/DialogResourcesComponent.vue
create mode 100644 ui/src/utils/axios.js