Skip to content

Commit 7e152ea

Browse files
jiaolong89piket
andauthored
Update sdk/python/feast/infra/registry/sql.py
use LargeBinary().with_variant(mysql.LONGBLOB, "mysql") for both before_proto and after_proto Co-authored-by: piket <timonpike@gmail.com>
1 parent 3c6a032 commit 7e152ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • sdk/python/feast/infra/registry

‎sdk/python/feast/infra/registry/sql.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@
295295
Column("object_name", String(255), nullable=False),
296296
Column("operation", String(20), nullable=False), # create | update | delete
297297
Column("actor", String(255), nullable=True),
298-
Column("before_proto", LargeBinary, nullable=True), # gzip(proto); null on create
299-
Column("after_proto", LargeBinary, nullable=True), # gzip(proto); null on delete
298+
Column("before_proto", LargeBinary().with_variant(mysql.LONGBLOB, "mysql"), nullable=True), # gzip(proto); null on create
299+
Column("after_proto", LargeBinary().with_variant(mysql.LONGBLOB, "mysql"), nullable=True), # gzip(proto); null on delete
300300
Column("request_id", String(64), nullable=True),
301301
Column("recorded_at", BigInteger, nullable=False),
302302
)

0 commit comments

Comments
 (0)