Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

system crashed when insert string attribute with " " #12

@mengranwo

Description

@mengranwo

SQL: create table foo(a varchar(32), b int);
SQL:insert into foo values("name",2);
it supposed to be parser error(use '' instead of "")
but in our system, it crashed.(assertion failed)

INFO - the values size is 1 and table_schema size is 2
peloton: /home/mengranwo/Documents/catalog/peloton/src/planner/insert_plan.cpp:66: peloton::planner::InsertPlan::InsertPlan(peloton::storage::DataTable*, std::vector<char*>, std::vector<std::vectorpeloton::expression::AbstractExpression*>*): Assertion `(values->size() == table_schema->GetColumnCount())' failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions