diff --git a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/categorize.csv-spec b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/categorize.csv-spec index da271d2f45a72..8e0fcd78f0322 100644 --- a/x-pack/plugin/esql/qa/testFixtures/src/main/resources/categorize.csv-spec +++ b/x-pack/plugin/esql/qa/testFixtures/src/main/resources/categorize.csv-spec @@ -1,15 +1,14 @@ categorize required_capability: categorize -# Drop the category ID, because it's non-deterministic FROM sample_data + | SORT message ASC | STATS count=COUNT(), values=MV_SORT(VALUES(message)) BY category=CATEGORIZE(message) - | SORT count DESC, category ASC - | DROP category + | SORT category ; -count:long | values:keyword -3 | [Connected to 10.1.0.1, Connected to 10.1.0.2, Connected to 10.1.0.3] -3 | [Connection error] -1 | [Disconnected] +count:long | values:keyword | category:integer +3 | [Connected to 10.1.0.1, Connected to 10.1.0.2, Connected to 10.1.0.3] | 0 +3 | [Connection error] | 1 +1 | [Disconnected] | 2 ;