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

Scala Core: add consumer-compatibility checks #269

Closed
chuwy opened this issue Oct 11, 2017 · 2 comments
Closed

Scala Core: add consumer-compatibility checks #269

chuwy opened this issue Oct 11, 2017 · 2 comments
Milestone

Comments

@chuwy
Copy link
Contributor

chuwy commented Oct 11, 2017

See https://github.com/snowplow/snowplow/issues/3459#issuecomment-335876237

In core this functionality can be as simple as:

type Consumer = String
type ConsumerMatrix = Map[Consumer, List[SchemaCriterion]

def compatible(matrix: ConsumerMatrix)(igluSchema: SchemaKey) = ??? // Compatible | Incompatible | Warning

Functionality that compares two schemas and decides if second one is model/revision/addition-bump is separate and should be in Schema DDL (couldn't find a ticket, but it's a number 3 in #263)

@chuwy chuwy added this to the Release 8 Stamp TBC milestone Dec 15, 2017
@oguzhanunlu oguzhanunlu self-assigned this Dec 18, 2017
@oguzhanunlu oguzhanunlu mentioned this issue Jan 16, 2018
19 tasks
@chuwy
Copy link
Contributor Author

chuwy commented Jan 18, 2018

Pushing this back as not critical for this release.

@aldemirenes
Copy link

Migrated to snowplow/iglu-scala-core#23

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

No branches or pull requests

3 participants