Skip to content

Commit 082007c

Browse files
CodemodService ThriftModernizationBotfacebook-github-bot
authored andcommitted
[AutoAccept][Codemod][ThriftFormatFBSource] fbcode/github/presto-trunk/presto-docs/src/main/sphinx/include
Reviewed By: aristidisp Differential Revision: D85743714
1 parent e024bd8 commit 082007c

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

presto-docs/src/main/sphinx/include/PrestoThriftService.thrift

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,9 @@ service PrestoThriftService {
285285
/**
286286
* Returns available schema names.
287287
*/
288-
list<string> prestoListSchemaNames()
289-
throws (1: PrestoThriftServiceException ex1);
288+
list<string> prestoListSchemaNames() throws (
289+
1: PrestoThriftServiceException ex1,
290+
);
290291

291292
/**
292293
* Returns tables for the given schema name.
@@ -296,8 +297,8 @@ service PrestoThriftService {
296297
* a list of tables for all schemas. Returns an empty list if a schema does not exist
297298
*/
298299
list<PrestoThriftSchemaTableName> prestoListTables(
299-
1: PrestoThriftNullableSchemaName schemaNameOrNull)
300-
throws (1: PrestoThriftServiceException ex1);
300+
1: PrestoThriftNullableSchemaName schemaNameOrNull,
301+
) throws (1: PrestoThriftServiceException ex1);
301302

302303
/**
303304
* Returns metadata for a given table.
@@ -306,8 +307,8 @@ service PrestoThriftService {
306307
* @return metadata for a given table, or a {@literal null} value inside if it does not exist
307308
*/
308309
PrestoThriftNullableTableMetadata prestoGetTableMetadata(
309-
1: PrestoThriftSchemaTableName schemaTableName)
310-
throws (1: PrestoThriftServiceException ex1);
310+
1: PrestoThriftSchemaTableName schemaTableName,
311+
) throws (1: PrestoThriftServiceException ex1);
311312

312313
/**
313314
* Returns a batch of splits.
@@ -320,12 +321,12 @@ service PrestoThriftService {
320321
* @return a batch of splits
321322
*/
322323
PrestoThriftSplitBatch prestoGetSplits(
323-
1: PrestoThriftSchemaTableName schemaTableName,
324-
2: PrestoThriftNullableColumnSet desiredColumns,
325-
3: PrestoThriftTupleDomain outputConstraint,
326-
4: i32 maxSplitCount,
327-
5: PrestoThriftNullableToken nextToken)
328-
throws (1: PrestoThriftServiceException ex1);
324+
1: PrestoThriftSchemaTableName schemaTableName,
325+
2: PrestoThriftNullableColumnSet desiredColumns,
326+
3: PrestoThriftTupleDomain outputConstraint,
327+
4: i32 maxSplitCount,
328+
5: PrestoThriftNullableToken nextToken,
329+
) throws (1: PrestoThriftServiceException ex1);
329330

330331
/**
331332
* Returns a batch of index splits for the given batch of keys.
@@ -341,14 +342,14 @@ service PrestoThriftService {
341342
* @return a batch of splits
342343
*/
343344
PrestoThriftSplitBatch prestoGetIndexSplits(
344-
1: PrestoThriftSchemaTableName schemaTableName,
345-
2: list<string> indexColumnNames,
346-
3: list<string> outputColumnNames,
347-
4: PrestoThriftPageResult keys,
348-
5: PrestoThriftTupleDomain outputConstraint,
349-
6: i32 maxSplitCount,
350-
7: PrestoThriftNullableToken nextToken)
351-
throws (1: PrestoThriftServiceException ex1);
345+
1: PrestoThriftSchemaTableName schemaTableName,
346+
2: list<string> indexColumnNames,
347+
3: list<string> outputColumnNames,
348+
4: PrestoThriftPageResult keys,
349+
5: PrestoThriftTupleDomain outputConstraint,
350+
6: i32 maxSplitCount,
351+
7: PrestoThriftNullableToken nextToken,
352+
) throws (1: PrestoThriftServiceException ex1);
352353

353354
/**
354355
* Returns a batch of rows for the given split.
@@ -360,9 +361,9 @@ service PrestoThriftService {
360361
* @return a batch of table data
361362
*/
362363
PrestoThriftPageResult prestoGetRows(
363-
1: PrestoThriftId splitId,
364-
2: list<string> columns,
365-
3: i64 maxBytes,
366-
4: PrestoThriftNullableToken nextToken)
367-
throws (1: PrestoThriftServiceException ex1);
364+
1: PrestoThriftId splitId,
365+
2: list<string> columns,
366+
3: i64 maxBytes,
367+
4: PrestoThriftNullableToken nextToken,
368+
) throws (1: PrestoThriftServiceException ex1);
368369
}

0 commit comments

Comments
 (0)