@@ -1294,3 +1294,43 @@ message ExecuteScanQueryPartialResult {
1294
1294
// collects additional diagnostics about query compilation, including query plan and scheme
1295
1295
string query_full_diagnostics = 7 ;
1296
1296
}
1297
+
1298
+ // Returns information about an external data source with a given path.
1299
+ message DescribeExternalDataSourceRequest {
1300
+ Ydb.Operations.OperationParams operation_params = 1 ;
1301
+ string path = 2 ;
1302
+ }
1303
+
1304
+ message DescribeExternalDataSourceResponse {
1305
+ // Holds DescribeExternalDataSourceResult in case of a successful call.
1306
+ Ydb.Operations.Operation operation = 1 ;
1307
+ }
1308
+
1309
+ message DescribeExternalDataSourceResult {
1310
+ // Description of a generic scheme object.
1311
+ Ydb.Scheme.Entry self = 1 ;
1312
+ optional string source_type = 2 ;
1313
+ optional string location = 3 ;
1314
+ map <string , string > properties = 4 ;
1315
+ }
1316
+
1317
+ // Returns information about an external table with a given path.
1318
+ message DescribeExternalTableRequest {
1319
+ Ydb.Operations.OperationParams operation_params = 1 ;
1320
+ string path = 2 ;
1321
+ }
1322
+
1323
+ message DescribeExternalTableResponse {
1324
+ // Holds DescribeExternalTableResult in case of a successful call.
1325
+ Ydb.Operations.Operation operation = 1 ;
1326
+ }
1327
+
1328
+ message DescribeExternalTableResult {
1329
+ // Description of a generic scheme object.
1330
+ Ydb.Scheme.Entry self = 1 ;
1331
+ optional string source_type = 2 ;
1332
+ optional string data_source_path = 3 ;
1333
+ optional string location = 4 ;
1334
+ repeated ColumnMeta columns = 5 ;
1335
+ map <string , string > content = 6 ;
1336
+ }
0 commit comments