Skip to content

Commit

Permalink
fix: For SQL registry, increase max data_source_name length to 255 (f…
Browse files Browse the repository at this point in the history
…east-dev#3630)

* sql.py data_sources.data_source_name String(255)

Extend the limit of the data_source_name field from 50 to 255.

Signed-off-by: Ross Donnachie <[email protected]>
  • Loading branch information
radonnachie authored and Bhargav Dodla committed Jun 10, 2024
1 parent b947c73 commit 54fef78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
data_sources = Table(
"data_sources",
metadata,
Column("data_source_name", String(50), primary_key=True),
Column("data_source_name", String(255), primary_key=True),
Column("project_id", String(50), primary_key=True),
Column("last_updated_timestamp", BigInteger, nullable=False),
Column("data_source_proto", LargeBinary, nullable=False),
Expand Down

0 comments on commit 54fef78

Please sign in to comment.