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

Add import statement (#57) #73

Closed
wants to merge 3 commits into from
Closed

Add import statement (#57) #73

wants to merge 3 commits into from

Conversation

dlurton
Copy link
Member

@dlurton dlurton commented May 14, 2021

Implements #57.

I need to account for the actual use-case here: another project will have already generated code for the domain being imported, so there should be a way to avoid re-generating the same code from the imported domains. This is perhaps more complex than it would at first appear since the generated code of the imported domain may be in Kotlin package, and the PIG DSL itself has no notion of these packages. I need to think of a simple solution.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Comment on lines 15 to 17

package org.partiql.pig.domain.parser

Copy link
Member Author

Choose a reason for hiding this comment

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

For this file, I strongly recommend clicking the gear icon near the top and checking the box "hide whitespace changes" as most of the modified lines are just indentation.

@dlurton dlurton self-assigned this May 14, 2021
@dlurton dlurton marked this pull request as draft May 14, 2021 16:40
@dlurton dlurton closed this May 21, 2021
@dlurton dlurton deleted the imports branch May 21, 2021 20:31
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.

1 participant