From bbde5cb40288e7e25df520aaa8d730c089e62907 Mon Sep 17 00:00:00 2001 From: Timon Pike Date: Mon, 9 Oct 2023 10:06:53 -0700 Subject: [PATCH] include cgosymbolizer for CPython debugging --- go.mod | 1 + go.sum | 2 ++ go/internal/feast/transformation/transformation.go | 2 ++ 3 files changed, 5 insertions(+) diff --git a/go.mod b/go.mod index 65a667f729..413f3ca092 100644 --- a/go.mod +++ b/go.mod @@ -43,6 +43,7 @@ require ( ) require github.com/rs/zerolog v1.21.0 +require github.com/ianlancetaylor/cgosymbolizer v0.0.0-20230801000641-8736a9d41aaa require ( github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect diff --git a/go.sum b/go.sum index b9d2676f94..27b55804c5 100644 --- a/go.sum +++ b/go.sum @@ -226,6 +226,8 @@ github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2p github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg= +github.com/ianlancetaylor/cgosymbolizer v0.0.0-20230801000641-8736a9d41aaa h1:FEZID0R3+pkWLvjmZJ2iL+SZTcb2+/PgVvoyQss/q/I= +github.com/ianlancetaylor/cgosymbolizer v0.0.0-20230801000641-8736a9d41aaa/go.mod h1:DvXTE/K/RtHehxU8/GtDs4vFtfw64jJ3PaCnFri8CRg= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= diff --git a/go/internal/feast/transformation/transformation.go b/go/internal/feast/transformation/transformation.go index 527119dca0..9690be97ed 100644 --- a/go/internal/feast/transformation/transformation.go +++ b/go/internal/feast/transformation/transformation.go @@ -19,6 +19,8 @@ import ( "github.com/feast-dev/feast/go/protos/feast/serving" prototypes "github.com/feast-dev/feast/go/protos/feast/types" "github.com/feast-dev/feast/go/types" + + _ "github.com/ianlancetaylor/cgosymbolizer" ) /*