mirror of
https://github.com/lancedb/lancedb.git
synced 2026-01-06 20:02:58 +00:00
fix: remove accidental console.log (#1307)
i accidentally left a console.log when doing https://github.com/lancedb/lancedb/pull/1290
This commit is contained in:
@@ -677,8 +677,6 @@ function validateSchemaEmbeddings(
|
||||
}
|
||||
|
||||
if (missingEmbeddingFields.length > 0 && embeddings === undefined) {
|
||||
console.log({ missingEmbeddingFields, embeddings });
|
||||
|
||||
throw new Error(
|
||||
`Table has embeddings: "${missingEmbeddingFields
|
||||
.map((f) => f.name)
|
||||
@@ -686,5 +684,5 @@ function validateSchemaEmbeddings(
|
||||
);
|
||||
}
|
||||
|
||||
return new Schema(fields);
|
||||
return new Schema(fields, schema.metadata);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user