Skip to content

Commit 6377863

Browse files
authored
YDB FQ: Adding Oracle datasource to proto (#6639)
1 parent 0e3aaa3 commit 6377863

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ydb/library/yql/providers/generic/connector/api/common/data_source.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ enum EDataSourceKind {
3535
MYSQL = 5;
3636
MS_SQL_SERVER = 6;
3737
GREENPLUM = 7;
38+
ORACLE = 8;
3839
}
3940

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

72+
// TOracleDataSourceOptions represents settings specific to Oracle
73+
message TOracleDataSourceOptions {
74+
// Oracle service_name - alias to SID of oracle INSTANCE, or SID, or PDB.
75+
// More about connection options in Oracle docs:
76+
// https://docs.oracle.com/en/database/other-databases/essbase/21/essoa/connection-string-formats.html
77+
string service_name = 1;
78+
}
79+
7180
// TDataSourceInstance helps to identify the instance of a data source to redirect request to.
7281
message TDataSourceInstance {
7382
// Data source kind
@@ -90,5 +99,6 @@ message TDataSourceInstance {
9099
TClickhouseDataSourceOptions ch_options = 8;
91100
TS3DataSourceOptions s3_options = 9;
92101
TGreenplumDataSourceOptions gp_options = 10;
102+
TOracleDataSourceOptions ora_options = 11;
93103
}
94104
}

0 commit comments

Comments
 (0)