Skip to content

Error reading generationExpression in column metadata #3326

Open
@zeevm

Description

@zeevm

The code in schema.rs assumes the expression for "generationExpression" should be a valid JSON for some reason, it shouldn't, it doesn't specify this in the protocol.

The code tries to deserialize this as a JSON VALUE and fails, thus unable to open the table.

Even the unit tests wrongly assume this, see the extra escaped double quotes:
{"name":"id2","type":"integer","nullable":true,"metadata":{"delta.generationExpression":"\"id * 10\""}},]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions