-- No credentials or external service needed: NULL propagates without an API call. SELECT jev(NULL, 'The event reports a failed payment.', 0.8) AS matched; +---------+ | matched | +---------+ | | +---------+ SELECT jev('message', NULL, 0.8) AS matched; +---------+ | matched | +---------+ | | +---------+ SELECT jev('message', 'The event reports a failed payment.', NULL) AS matched; +---------+ | matched | +---------+ | | +---------+ -- Validate SQL registration, coercion, and asynchronous filtering on a real table. CREATE TABLE jev_events ( occurred_at TIMESTAMP TIME INDEX, "service" STRING, "message" STRING, PRIMARY KEY ("service") ); Affected Rows: 0 INSERT INTO jev_events VALUES ('2026-09-19T01:00:00Z', 'payments', NULL), ('2026-09-19T02:00:00Z', 'auth', NULL); Affected Rows: 2 SELECT occurred_at, service, message FROM jev_events WHERE occurred_at >= '2026-09-19T00:00:00Z' AND occurred_at < '2026-09-20T00:00:00Z' AND service = 'payments' AND jev((message), 'The event reports that a payment still failed after retries.', 0.8) ORDER BY occurred_at; +-------------+---------+---------+ | occurred_at | service | message | +-------------+---------+---------+ +-------------+---------+---------+ DROP TABLE jev_events; Affected Rows: 0 -- Invalid thresholds fail locally before any HTTP request. SELECT jev('message', 'condition', -0.1); Error: 3001(EngineExecuteQuery), Execution error: jev threshold must be finite and in [0, 1] SELECT jev('message', 'condition', 1.1); Error: 3001(EngineExecuteQuery), Execution error: jev threshold must be finite and in [0, 1]