Skip to content

vdk-oracle: add new config options (host,port,sid,thick_mode_lib_dir)#3032

Merged
antoniivanov merged 1 commit intomainfrom
person/aivanov/oracle-new-config
Jan 17, 2024
Merged

vdk-oracle: add new config options (host,port,sid,thick_mode_lib_dir)#3032
antoniivanov merged 1 commit intomainfrom
person/aivanov/oracle-new-config

Conversation

@antoniivanov
Copy link
Copy Markdown
Contributor

We are adding 3 options host,port,sid that were being originally added as part of PR #3019

The issue in the PR is that SID was incorrecctly passed as "service_name" to the underlying oracle db connect method. But it is actuall "SID" (system identifier) .

Setting it correctly there works fine.

I also had to add thick_mode_lib_dir since it was impossible to get thick mode working in Mac without passing it on.

Testing Done:
- added test_oracle_connect_execute_without_connection_string
- tested in production environment against real (non local) with
thick mode database with a data job which executed query and send data
for ingestion successfully.

Currently the automated tests do not cover the thick mode scenario due to extra setup required and this will be added later.

Base automatically changed from person/aivanov/oracle to main January 17, 2024 08:53
Copy link
Copy Markdown
Contributor

@yonitoo yonitoo left a comment

Choose a reason for hiding this comment

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

LGTM!

@antoniivanov antoniivanov force-pushed the person/aivanov/oracle-new-config branch from 035681e to 2465fd8 Compare January 17, 2024 11:16
We are adding 3 options host,port,sid that were being originally added
as part of PR #3019

The issue in the PR is that SID was incorrecctly passed as
"service_name" to the underlying oracle db connect method. But it is
actuall "SID" (system identifier) .

Setting it correctly there works fine.

I also had to add thick_mode_lib_dir since it was impossible to get
thick mode working in Mac without passing it on.

Testing Done:
	- added   test_oracle_connect_execute_without_connection_string
	- tested in production environment against real (non local) with
thick mode database with a data job which executed query and send data
for ingestion successfully.

Currently the automated tests do not cover the thick mode scenario due
to extra setup required and this will be added later.
@antoniivanov antoniivanov force-pushed the person/aivanov/oracle-new-config branch from 2465fd8 to 80859e9 Compare January 17, 2024 11:17
@antoniivanov antoniivanov enabled auto-merge (squash) January 17, 2024 12:54
@antoniivanov antoniivanov disabled auto-merge January 17, 2024 12:55
@antoniivanov antoniivanov merged commit 43403e6 into main Jan 17, 2024
@antoniivanov antoniivanov deleted the person/aivanov/oracle-new-config branch January 17, 2024 12:55
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.

4 participants