Skip to content

Commit

Permalink
Fix type-o
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Apr 19, 2024
1 parent 740d063 commit 16ec801
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion morpheus/service/vdb/milvus_vector_db_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ def insert_dataframe(self,
max_len,
MAX_STRING_LENGTH)
df[col] = str_series.str.slice(0, MAX_STRING_LENGTH)
logger.warning("Column '%s' has been truncated to a max length of %d", col, df[col].len().max())
logger.warning("Column '%s' has been truncated to a max length of %d",
col,
df[col].str.len().max())

# Note: dataframe columns has to be in the order of collection schema fields.s
result = self._collection.insert(data=df[column_names], **kwargs)
Expand Down

0 comments on commit 16ec801

Please sign in to comment.