You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, the table in StarRocks maybe violates the benchmark rules, because its DDL uses generated columns, which flatten the JSON and turn it into multiple non-JSON columns at insertion time.
CREATETABLEbluesky (
`id`BIGINT AUTO_INCREMENT,
`data` JSON NOT NULL COMMENT "Primary JSON object, optimized for field access using FlatJSON",
sort_key VARBINARY AS encode_sort_key(
get_json_string(data, 'kind'),
get_json_string(data, 'commit.operation'),
get_json_string(data, 'commit.collection'),
get_json_string(data, 'did')
)
)
ORDER BY (sort_key);
As shown in the CREATE TABLE statement, encode_sort_key is a generated column, and the get_json_string function flattens the JSON, which violates the benchmark rules.