Sriharsha Chintalapani c72352c667 Fix post profiler time series migration (#23444)
* Fix post profiler time series migration

* add prefix index

* Update prefix index length for entityFQNHash

* Update prefix index length for LIKE queries

* add prefix index

* fix mysql syntax

(cherry picked from commit ffc4dcf643c41e47d115d9f564302aaed66e2197)
2025-09-18 02:18:53 +00:00

4 lines
227 B
SQL

-- Modify the path to the auto-generated operation column to extract from the JSON field
ALTER TABLE profiler_data_time_series
MODIFY COLUMN operation VARCHAR(256) GENERATED ALWAYS AS (json ->> '$.profileData.operation') NULL;