Skip to content

Commit

Permalink
YDB FQ: Adding Oracle datasource to proto (#6639)
Browse files Browse the repository at this point in the history
  • Loading branch information
lifthelm authored Jul 16, 2024
1 parent 0e3aaa3 commit 6377863
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ enum EDataSourceKind {
MYSQL = 5;
MS_SQL_SERVER = 6;
GREENPLUM = 7;
ORACLE = 8;
}

// EProtocol generalizes various kinds of network protocols supported by different databases.
Expand Down Expand Up @@ -68,6 +69,14 @@ message TGreenplumDataSourceOptions {
string schema = 1;
}

// TOracleDataSourceOptions represents settings specific to Oracle
message TOracleDataSourceOptions {
// Oracle service_name - alias to SID of oracle INSTANCE, or SID, or PDB.
// More about connection options in Oracle docs:
// https://docs.oracle.com/en/database/other-databases/essbase/21/essoa/connection-string-formats.html
string service_name = 1;
}

// TDataSourceInstance helps to identify the instance of a data source to redirect request to.
message TDataSourceInstance {
// Data source kind
Expand All @@ -90,5 +99,6 @@ message TDataSourceInstance {
TClickhouseDataSourceOptions ch_options = 8;
TS3DataSourceOptions s3_options = 9;
TGreenplumDataSourceOptions gp_options = 10;
TOracleDataSourceOptions ora_options = 11;
}
}

0 comments on commit 6377863

Please sign in to comment.