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

fix: Use user provided type in Oracle source #2473

Closed
wants to merge 1 commit into from
Closed

Conversation

chubei
Copy link
Contributor

@chubei chubei commented Apr 3, 2024

We don't want to require CREATE TYPE permission.

To make this work, we need to first create a type. Say the type name is DOZER_VARRAY_OF_VARCHAR2 .

CREATE TYPE DOZER_VARRAY_OF_VARCHAR2 AS VARRAY(20) OF VARCHAR2(100);

Then grant permission on that type to the replicate user. Say the replicate user is DOZER:

GRANT EXECUTE ON DOZER_VARRAY_OF_VARCHAR2 TO DOZER;

Then in the configuration, add a new field string_collection_type_name, whose value should be the FULL NAME of the type. Say the user that owns the type is SYS.

string_collection_type_name: SYS.DOZER_VARRAY_OF_VARCHAR2

We don't want to require CREATE TYPE permission.
@chubei chubei force-pushed the fix/create_type branch from 875a9a1 to 75b7372 Compare April 3, 2024 15:42
@v3g42 v3g42 closed this Apr 19, 2024
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.

2 participants