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

empty schema should fail at compile time #174

Open
cquiroz opened this issue Sep 22, 2021 · 0 comments
Open

empty schema should fail at compile time #174

cquiroz opened this issue Sep 22, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@cquiroz
Copy link
Contributor

cquiroz commented Sep 22, 2021

I'm just starting to learn about grackle and a test I discovered that a schema definition cannot be empty. However you only get a failure at runtime. Should it fail at compile time?

object ItcMapping extends GenericMapping[Id] {
 val schema = schema"""
 """

 val typeMappings = Nil
}
@milessabin milessabin added the enhancement New feature or request label Jun 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants