mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-26 12:44:10 +00:00
* fix(metric): pass logical table identity to partition evaluation Signed-off-by: WenyXu <wenymedia@gmail.com> * test(metric): cover table-id repartition routing across storage formats Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(partition): validate logical routing inputs Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(metric): retain table ids for physical batch routing Signed-off-by: WenyXu <wenymedia@gmail.com> * refactor(partition): simplify table-id routing paths Separate context dispatch, routing input construction and column conversion into private methods while preserving the scalar payload path. Reuse the existing table-id constant and shared IPC decoding in tests. Keep correctly routed requests intact when their partition version is unchanged. Update existing retry coverage to use stale versions for rerouting and verify unchanged bulk requests preserve alignment and ownership. Signed-off-by: WenyXu <wenymedia@gmail.com> * fix(servers): validate table-id column row count Report mismatched logical table identities before Arrow column construction, document batch and row ordering requirements, and remove the unreachable batch skip. Extend the existing conversion test and clarify the partition evaluation context contract. Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
139 lines
3.7 KiB
TOML
139 lines
3.7 KiB
TOML
[package]
|
|
name = "tests-integration"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
autotests = false
|
|
|
|
[[test]]
|
|
name = "main"
|
|
path = "tests/main.rs"
|
|
|
|
[features]
|
|
dashboard = ["servers/dashboard"]
|
|
enterprise = ["frontend/enterprise", "meta-srv/enterprise", "common-meta/enterprise"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
api.workspace = true
|
|
arrow-flight.workspace = true
|
|
async-trait.workspace = true
|
|
auth.workspace = true
|
|
axum.workspace = true
|
|
cache.workspace = true
|
|
catalog.workspace = true
|
|
client.workspace = true
|
|
cmd.workspace = true
|
|
common-base.workspace = true
|
|
common-catalog.workspace = true
|
|
common-config.workspace = true
|
|
common-datasource.workspace = true
|
|
common-error.workspace = true
|
|
common-event-recorder.workspace = true
|
|
common-grpc.workspace = true
|
|
common-memory-manager.workspace = true
|
|
common-meta.workspace = true
|
|
common-procedure.workspace = true
|
|
common-query.workspace = true
|
|
common-recordbatch.workspace = true
|
|
common-runtime.workspace = true
|
|
common-telemetry.workspace = true
|
|
common-test-util.workspace = true
|
|
common-time.workspace = true
|
|
common-wal.workspace = true
|
|
datanode = { workspace = true }
|
|
datatypes.workspace = true
|
|
dotenv.workspace = true
|
|
flow.workspace = true
|
|
frontend.workspace = true
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
http.workspace = true
|
|
hyper-util = { workspace = true, features = ["tokio"] }
|
|
meta-client.workspace = true
|
|
meta-srv = { workspace = true, features = ["mock"] }
|
|
mito2.workspace = true
|
|
object-store.workspace = true
|
|
operator.workspace = true
|
|
pipeline.workspace = true
|
|
prost.workspace = true
|
|
query.workspace = true
|
|
rand.workspace = true
|
|
serde_json.workspace = true
|
|
servers.workspace = true
|
|
session.workspace = true
|
|
sql.workspace = true
|
|
standalone.workspace = true
|
|
store-api.workspace = true
|
|
substrait.workspace = true
|
|
table.workspace = true
|
|
tempfile.workspace = true
|
|
tokio.workspace = true
|
|
tokio-stream = { workspace = true, features = ["net"] }
|
|
tonic.workspace = true
|
|
tower.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
base64.workspace = true
|
|
bytes.workspace = true
|
|
catalog = { workspace = true, features = ["testing"] }
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
cli.workspace = true
|
|
client = { workspace = true, features = ["testing"] }
|
|
common-frontend.workspace = true
|
|
common-memory-manager.workspace = true
|
|
common-meta = { workspace = true, features = ["testing"] }
|
|
common-options.workspace = true
|
|
common-procedure-test.workspace = true
|
|
common-wal = { workspace = true, features = ["testing"] }
|
|
datafusion.workspace = true
|
|
datafusion-expr.workspace = true
|
|
either.workspace = true
|
|
flate2 = "1.0"
|
|
frontend = { workspace = true, features = ["testing"] }
|
|
hex.workspace = true
|
|
http.workspace = true
|
|
itertools.workspace = true
|
|
jsonb.workspace = true
|
|
log-query.workspace = true
|
|
loki-proto.workspace = true
|
|
mito2 = { workspace = true, features = ["test", "test-shared-fs-region-migration"] }
|
|
mysql_async = { version = "0.37", default-features = false, features = [
|
|
"time",
|
|
"default-rustls-ring",
|
|
] }
|
|
opentelemetry-proto.workspace = true
|
|
operator = { workspace = true, features = ["testing"] }
|
|
otel-arrow-rust.workspace = true
|
|
partition.workspace = true
|
|
paste.workspace = true
|
|
plugins.workspace = true
|
|
promql = { workspace = true, features = ["test-utils"] }
|
|
prost.workspace = true
|
|
rand.workspace = true
|
|
rskafka.workspace = true
|
|
rstest.workspace = true
|
|
rstest_reuse.workspace = true
|
|
sea-query.workspace = true
|
|
servers = { workspace = true, features = ["testing"] }
|
|
similar-asserts.workspace = true
|
|
sqlx = { workspace = true, features = [
|
|
"mysql",
|
|
"mysql-rsa",
|
|
"postgres",
|
|
"chrono",
|
|
] }
|
|
store-api.workspace = true
|
|
temp-env.workspace = true
|
|
time = "0.3"
|
|
tokio-postgres = { workspace = true }
|
|
tokio-util.workspace = true
|
|
url = "2.3"
|
|
urlencoding = "2.1"
|
|
yaml-rust = "0.4"
|
|
zstd.workspace = true
|