File tree 1 file changed +10
-0
lines changed
ydb/library/yql/providers/generic/connector/api/common
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ enum EDataSourceKind {
35
35
MYSQL = 5 ;
36
36
MS_SQL_SERVER = 6 ;
37
37
GREENPLUM = 7 ;
38
+ ORACLE = 8 ;
38
39
}
39
40
40
41
// EProtocol generalizes various kinds of network protocols supported by different databases.
@@ -68,6 +69,14 @@ message TGreenplumDataSourceOptions {
68
69
string schema = 1 ;
69
70
}
70
71
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
+
71
80
// TDataSourceInstance helps to identify the instance of a data source to redirect request to.
72
81
message TDataSourceInstance {
73
82
// Data source kind
@@ -90,5 +99,6 @@ message TDataSourceInstance {
90
99
TClickhouseDataSourceOptions ch_options = 8 ;
91
100
TS3DataSourceOptions s3_options = 9 ;
92
101
TGreenplumDataSourceOptions gp_options = 10 ;
102
+ TOracleDataSourceOptions ora_options = 11 ;
93
103
}
94
104
}
You can’t perform that action at this time.
0 commit comments