Skip to content

KeyError 'columns' on certain SQL files #144

@ivbeg

Description

@ivbeg

Describe the bug
KeyError 'columns' generated instead of DDLParserError

To Reproduce
Steps to reproduce the behavior:

  1. Take file https://github.com/penguin9360/School-Projects/blob/3b1d67fae9a95518936e742412d0977f9127dccf/CS%20427%20-%20Software%20Engineering/iTrust/sql/createTables.sql
  2. Use code ddl = parse_from_file(filepath)
  3. See error KeyError 'columns'

Expected behavior
DDLParserError with clear error explanation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions