Skip to content

Pin PostHog UDFs to PostHog/posthog#135224 - #20

Merged
rorylshanks merged 1 commit into
mainfrom
udfs-nested-as-strings
Nov 13, 2026
Merged

rorylshanks merged 1 commit into
mainfrom
udfs-nested-as-strings

Conversation

@rorylshanks

Copy link
Copy Markdown
Collaborator

Changes

  • Pin clickhouse-util-udfs.yml to 2b4f41441705e283bc413090ce045bdee9ef39ec, the head of feat(clickhouse): store objects and lists as text in events_json posthog#135224.
  • That revision's event, person and temporary cleaners store every top-level object and array as a JSON string of the text that was sent. $feature_flags stays an object.
  • The latest manifest at that revision adds the v13 funnel functions and JSONDropKeys_v13. The worker now installs 60 UDFs (was 45).
  • e2e/sql/udfs.sql and e2e/sql/insert.sql expect string-encoded nested values, for example {"$set":"{\"a\":1}"}.
  • e2e/sql/udfs.sql calls every v13 function.
  • docs/setup.md lists the v13 functions.

Warning

PostHog/posthog#135224 is open. It changes the output of the existing cleaner functions. Destination tables and readers must expect nested values as strings before rewrites use this revision.

Verification

  • go mod tidy: no changes.
  • go test ./...: pass.
  • ./e2e/run.sh: pass.

🤖 Generated with Claude Code

Install the executable UDFs from 2b4f414, the head of PostHog/posthog#135224.
Its event, person and temporary cleaners store every top-level object and
array as a JSON string of the text that was sent. The latest manifest also
adds the v13 funnel functions and JSONDropKeys_v13, for 60 UDFs in total.

Update the e2e cleaner assertions to expect string-encoded nested values and
add assertions for every v13 function.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rorylshanks
rorylshanks merged commit 4f1a450 into main Nov 13, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant