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

feat: Add OptionValidator trait for FDW options validation and Sanitize user mapping options #37

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

Weijun-H
Copy link
Contributor

@Weijun-H Weijun-H commented Aug 8, 2024

Ticket(s) Closed

What

Why

How

  • introduce new OptionValidator
  • Sanitize the user mapping in the validator function

Tests

tests/scan.rs Outdated Show resolved Hide resolved
src/fdw/base.rs Outdated Show resolved Hide resolved
src/fdw/csv.rs Outdated Show resolved Hide resolved
@philippemnoel
Copy link
Collaborator

This PR is currently blocked by #66, which is blocked by: paradedb/wrappers#12

@Weijun-H Weijun-H force-pushed the 1135-Sanitize-user-mapping-options branch from 14d4b3e to 772cf06 Compare August 25, 2024 14:42
@Weijun-H Weijun-H marked this pull request as ready for review August 25, 2024 14:43
Copy link
Contributor

@rebasedming rebasedming left a comment

Choose a reason for hiding this comment

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

lgtm, just rebase and ill merge!

@Weijun-H Weijun-H force-pushed the 1135-Sanitize-user-mapping-options branch from 180498c to 03d88fb Compare August 27, 2024 02:16
@Weijun-H Weijun-H force-pushed the 1135-Sanitize-user-mapping-options branch from 03d88fb to ac8a351 Compare August 28, 2024 02:27
@rebasedming rebasedming merged commit 22d347e into paradedb:dev Aug 28, 2024
10 checks passed
shamb0 pushed a commit to shamb0/pg_analytics that referenced this pull request Aug 29, 2024
…ze user mapping options (paradedb#37)

* feat: Sanitize the user mapping options

* fix: Correct the bucket name
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.

Sanitize user mapping options
3 participants