diff --git a/docker/clickhouse/docker-entrypoint-initdb.d/init-db.sh b/docker/clickhouse/docker-entrypoint-initdb.d/init-db.sh index 1128061c844..977d436f976 100755 --- a/docker/clickhouse/docker-entrypoint-initdb.d/init-db.sh +++ b/docker/clickhouse/docker-entrypoint-initdb.d/init-db.sh @@ -2,10 +2,6 @@ set -e apt-get update -# Necessary because clickhouse runs on Ubuntu 20, which has an old glibc and an old python default -# Can remove when we upgrade clickhouse, as the new images run on Ubuntu 22 apt-get -y install python3.9 ln -s /usr/bin/python3.9 /usr/bin/python3 -wget http://launchpadlibrarian.net/588931980/libc6_2.35-0ubuntu3_amd64.deb -dpkg --auto-deconfigure -i libc6_2.35-0ubuntu3_amd64.deb cp -r /idl/* /var/lib/clickhouse/format_schemas/ diff --git a/funnel-udf/build.sh b/funnel-udf/build.sh new file mode 100644 index 00000000000..a952eab43a8 --- /dev/null +++ b/funnel-udf/build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +cargo install cross --git https://github.com/cross-rs/cross +cross build --target x86_64-unknown-linux-gnu --release +cross build --target aarch64-unknown-linux-gnu --release +cp target/x86_64-unknown-linux-gnu/release/funnels ../posthog/user_scripts/aggregate_funnel_x86_64 +cp target/aarch64-unknown-linux-gnu/release/funnels ../posthog/user_scripts/aggregate_funnel_aarch64 +echo "Make sure to run udf_versioner.py" \ No newline at end of file diff --git a/posthog/user_scripts/aggregate_funnel_x86_64 b/posthog/user_scripts/aggregate_funnel_x86_64 index 0605040d162..7b49f9a90dd 100755 Binary files a/posthog/user_scripts/aggregate_funnel_x86_64 and b/posthog/user_scripts/aggregate_funnel_x86_64 differ diff --git a/posthog/user_scripts/v0/aggregate_funnel_x86_64 b/posthog/user_scripts/v0/aggregate_funnel_x86_64 index 0605040d162..7b49f9a90dd 100755 Binary files a/posthog/user_scripts/v0/aggregate_funnel_x86_64 and b/posthog/user_scripts/v0/aggregate_funnel_x86_64 differ