LanceDB version
v0.22.0
What happened?
Would instead expect to resolve to null values. Instead:
bool -> false
f32 -> NaN
string -> ""
Are there known steps to reproduce?
const lancedb = require('@lancedb/lancedb');
const arrow = require('apache-arrow');
(async () => {
const conn = await lancedb.connect("memory://");
const schema = new arrow.Schema([
new arrow.Field("text", new arrow.Utf8(), true),
new arrow.Field("number", new arrow.Float32(), true),
new arrow.Field("bool", new arrow.Bool(), true),
]);
const table = await conn.createEmptyTable("test_table", schema);
await table.add([{ text: undefined, number: undefined, bool: undefined }]);
const result = await table.query().toArray();
console.log(result);
})();
[ {"text": "", "number": NaN, "bool": false} ]
LanceDB version
v0.22.0
What happened?
Would instead expect to resolve to null values. Instead:
bool->falsef32->NaNstring->""Are there known steps to reproduce?