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

Ignoring invalid mapping entries will now also ignore invalid lenses #709

Merged
merged 6 commits into from Jul 19, 2023

Conversation

DRovara
Copy link
Collaborator

@DRovara DRovara commented Jul 18, 2023

When a lens with invalid properties (e.g. accessing invalid table, reading invalid column) is encountered and the ignoreInvalidMappingEntries property is set, such invalid lenses will now also be ignored.

The LensMetadataProvider will instead return an empty relation definition in those cases.

The new option to include in the properties file is ontop.ignoreInvalidLensEntries (false by default).

@DRovara DRovara self-assigned this Jul 18, 2023
@DRovara DRovara added this to the v5.1.0 milestone Jul 18, 2023
@DRovara DRovara requested a review from bcogrel July 18, 2023 09:37
@bcogrel bcogrel marked this pull request as ready for review July 19, 2023 09:04
@bcogrel bcogrel merged commit c3ffeaf into version5 Jul 19, 2023
16 checks passed
@bcogrel bcogrel deleted the feature/ignore-lens-mapping-errors branch July 19, 2023 09:04
@bcogrel
Copy link
Member

bcogrel commented Jul 19, 2023

Thanks Damian!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants