Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: split out parsers #809

Merged
merged 11 commits into from
Jul 3, 2018
Merged

Refactor: split out parsers #809

merged 11 commits into from
Jul 3, 2018

Conversation

drewbanin
Copy link
Contributor

Split out parsers into different files. We'll need to do meaningful work on the schema test parser, and working in that file was hurting my soul.

Merge after #808

@drewbanin drewbanin changed the title Reafctor: split out parsers Refactor: split out parsers Jun 23, 2018
@drewbanin drewbanin changed the base branch from development to faeture/improve-catalog-generation June 26, 2018 14:54
@cmcarthur
Copy link
Member

@drewbanin is this just a refactor, or did you make changes to functionality here as well?

@drewbanin
Copy link
Contributor Author

@cmcarthur this is solely a refactor to split up the big parser.py into many smaller files. No logic should be changed in this PR

Copy link
Member

@cmcarthur cmcarthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is one very dumb issue in here that i'd like you to fix. once you do please merge, i don't need to review it.

dbt/loader.py Outdated

from dbt.node_types import NodeType
from dbt.contracts.graph.parsed import ParsedManifest

from dbt.parser import ParserUtils
from dbt.parser import *
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need this? i think you want just

import dbt.parser

@drewbanin drewbanin changed the base branch from faeture/improve-catalog-generation to development July 3, 2018 20:08
@drewbanin drewbanin merged commit 5d9b8c5 into development Jul 3, 2018
@drewbanin drewbanin deleted the rfctr/split-out-parsers branch July 3, 2018 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants