Skip to content

Commit

Permalink
fix: For SQL registry, increase max data_source_name length to 255 (#…
Browse files Browse the repository at this point in the history
…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 <code@radonn.co.za>
  • Loading branch information
radonnachie authored Jul 13, 2023
1 parent 870762a commit 478caec
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 @@ -81,7 +81,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 478caec

Please sign in to comment.