Skip to content

Commit

Permalink
fix: the cast of the data column broke things and has been removed
Browse files Browse the repository at this point in the history
The cast of the data column to a string on upload broke somem uploads. Therefore, this cast has been removed. Long term, we should check input data on upload to make sure it matches the selected instance view.
  • Loading branch information
Sparkier committed Sep 30, 2023
1 parent 164a06d commit 79fa7f3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/zeno_backend/database/insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,6 @@ def dataset(
)
)

# To prevent upload errors, convert data column to string.
data_frame["data"] = data_frame["data"].astype(str)

# Connect to the db engine using SQLAlchemy and write the data to a table.
config = config_db()
engine = create_engine(
Expand Down

0 comments on commit 79fa7f3

Please sign in to comment.