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

materializations: a couple of validation fixes #1203

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

williamhbaker
Copy link
Member

@williamhbaker williamhbaker commented Jan 23, 2024

Description:

A couple of simple fixes I found from a survey of existing materializations:

  • For materialize-bigquery, we used to create number columns as "bignumeric", so allowing "bignumeric" for these columns allows for backward compatibility.

  • For materialize-elasticsearch, there are cases where users have pre-created or modified mappings for fields we would create as text to instead be keyword. This seems like a reasonable thing to support, so that is being allowed by validation.

Workflow steps:

(How does one use this feature, and how has it changed)

Documentation links affected:

(list any documentation links that you created, or existing ones that you've identified as needing updates, along with a brief description)

Notes for reviewers:

(anything that might help someone review this PR)


This change is Reviewable

…or float64

We used to create number columns as "bignumeric", so allowing "bignumeric" for these columns allows
for backward compatibility. See #859.
…keyword

Users may wish to pre-create indices with specific mappings as keywords instead of text, or alter
their mappings after the fact.
@williamhbaker williamhbaker merged commit a862cea into main Jan 24, 2024
43 of 44 checks passed
@williamhbaker williamhbaker deleted the wb/mat-validate-fixes branch January 24, 2024 18:18
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