From 3a1c3757dcff32815ac1d421389c728d67bea3a4 Mon Sep 17 00:00:00 2001 From: Oleksiy Syvokon Date: Thu, 19 Feb 2026 17:09:03 +0200 Subject: [PATCH] ep: Fix pull examples query (#49610) Release Notes: - N/A --- crates/edit_prediction_cli/src/pull_examples.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/edit_prediction_cli/src/pull_examples.rs b/crates/edit_prediction_cli/src/pull_examples.rs index e83d66226d90b5c0e8c9dfad7c78d987a2be4fa7..9b6c201b81a32b4a950341b808ae90e9a71d3dfc 100644 --- a/crates/edit_prediction_cli/src/pull_examples.rs +++ b/crates/edit_prediction_cli/src/pull_examples.rs @@ -517,7 +517,7 @@ pub async fn fetch_rejected_examples_after( AND rej.event_type = ? AND req.event_properties:version = 'V3' AND rej.event_properties:was_shown = true - AND req.event_properties:can_collect_data = true + AND req.event_properties:input:can_collect_data = true AND req.time > TRY_TO_TIMESTAMP_NTZ(?) AND (? IS NULL OR ( TRY_CAST(SPLIT_PART(req.event_properties:zed_version::string, '.', 2) AS INTEGER) > ? @@ -671,7 +671,7 @@ pub async fn fetch_requested_examples_after( FROM events req WHERE req.event_type = ? AND req.event_properties:version = 'V3' - AND req.event_properties:can_collect_data = true + AND req.event_properties:input:can_collect_data = true AND req.time > TRY_TO_TIMESTAMP_NTZ(?) AND (? IS NULL OR ( TRY_CAST(SPLIT_PART(req.event_properties:zed_version::string, '.', 2) AS INTEGER) > ?