Skip to content

Type guessing doesn't allow usage of TimeUUID #235

Open
@adespawn

Description

@adespawn

In integration test should guess known types

/* vit("2.0", "should guess known types", function (done) {
const client = setupInfo.client;
const columns =
"id, timeuuid_sample, text_sample, double_sample, timestamp_sample, blob_sample, list_sample";
// a precision a float32 can represent
const values = [
types.Uuid.random(),
types.TimeUuid.now(),
"text sample 1",
133,
new Date(121212211),
utils.allocBufferUnsafe(100),
["one", "two"],
];
// no hint
insertSelectTest(client, table, columns, values, null, done);
}); */

It's expected that TimeUUID is properly type guessed. This is not the case in the current state of the driver.

To tests for proper type guessing, a reduced version of this test has been added. See: d2e9094

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority.TypesCustom types used by the databasebugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions