Skip to content

Commit 7e17e3a

Browse files
authored
feat: v5 (#30363)
1 parent 6566d00 commit 7e17e3a

File tree

6 files changed

+637
-0
lines changed

6 files changed

+637
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/sh
2+
3+
DIR_NAME=$(dirname "$0")
4+
5+
case $( uname -m ) in
6+
aarch64) $DIR_NAME/aggregate_funnel_aarch64 "$@";;
7+
*) $DIR_NAME/aggregate_funnel_x86_64 "$@";;
8+
esac
9+
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/python3
2+
3+
import sys
4+
import json
5+
6+
if __name__ == "__main__":
7+
for line in sys.stdin:
8+
try:
9+
print(json.dumps({"result": line})) # noqa: T201
10+
# calculate_funnel_trends_from_user_events(*parse_args(line))
11+
except Exception as e:
12+
print(json.dumps({"result": json.dumps(str(e))}), end="\n") # noqa: T201
13+
sys.stdout.flush()
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/python3
2+
import json
3+
4+
import sys
5+
import traceback
6+
7+
if __name__ == "__main__":
8+
for line in sys.stdin:
9+
try:
10+
# calculate_funnel_from_user_events(*parse_args(line))
11+
print(json.dumps({"result": line})) # noqa: T201
12+
except Exception as e:
13+
print(json.dumps({"result": json.dumps(str(e) + traceback.format_exc())}), end="\n") # noqa: T201
14+
sys.stdout.flush()
Binary file not shown.

0 commit comments

Comments
 (0)