Skip to content

Commit

Permalink
added latest proto files for arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Jun 2, 2022
1 parent 08f837f commit af78557
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Links:
* https://arrow.apache.org/blog/2022/02/16/introducing-arrow-flight-sql/

Protocols:
* https://github.com/apache/arrow/tree/master/format
* [Flight](https://github.com/apache/arrow/blob/master/format/Flight.proto)
* [FlightSql](https://github.com/apache/arrow/blob/master/format/FlightSql.proto)

Expand Down
4 changes: 2 additions & 2 deletions proto/Flight.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ service FlightService {
* GetFlightInfo this interface may generate a new flight that was not previously
* available in ListFlights.
*/
rpc GetSchema(FlightDescriptor) returns (SchemaResult) {}
rpc GetSchema(FlightDescriptor) returns (SchemaResult) {}

/*
* Retrieve a single stream associated with a particular descriptor
Expand Down Expand Up @@ -359,4 +359,4 @@ message FlightData {
*/
message PutResult {
bytes app_metadata = 1;
}
}
10 changes: 8 additions & 2 deletions proto/FlightSql.proto
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ enum SqlInfo {
// Retrieves a UTF-8 string with the preferred term for "procedure".
SQL_PROCEDURE_TERM = 530;

// Retrieves a UTF-8 string with the preferred term for "catalog".
/*
* Retrieves a UTF-8 string with the preferred term for "catalog".
* If a empty string is returned its assumed that the server does NOT supports catalogs.
*/
SQL_CATALOG_TERM = 531;

/*
Expand Down Expand Up @@ -1118,6 +1121,7 @@ message CommandGetDbSchemas {
* - ARROW:FLIGHT:SQL:CATALOG_NAME - Table's catalog name
* - ARROW:FLIGHT:SQL:DB_SCHEMA_NAME - Database schema name
* - ARROW:FLIGHT:SQL:TABLE_NAME - Table name
* - ARROW:FLIGHT:SQL:TYPE_NAME - The data source-specific name for the data type of the column.
* - ARROW:FLIGHT:SQL:PRECISION - Column precision/size
* - ARROW:FLIGHT:SQL:SCALE - Column scale/decimal digits if applicable
* - ARROW:FLIGHT:SQL:IS_AUTO_INCREMENT - "1" indicates if the column is auto incremented, "0" otherwise.
Expand Down Expand Up @@ -1457,6 +1461,7 @@ message ActionClosePreparedStatementRequest {
* - ARROW:FLIGHT:SQL:CATALOG_NAME - Table's catalog name
* - ARROW:FLIGHT:SQL:DB_SCHEMA_NAME - Database schema name
* - ARROW:FLIGHT:SQL:TABLE_NAME - Table name
* - ARROW:FLIGHT:SQL:TYPE_NAME - The data source-specific name for the data type of the column.
* - ARROW:FLIGHT:SQL:PRECISION - Column precision/size
* - ARROW:FLIGHT:SQL:SCALE - Column scale/decimal digits if applicable
* - ARROW:FLIGHT:SQL:IS_AUTO_INCREMENT - "1" indicates if the column is auto incremented, "0" otherwise.
Expand Down Expand Up @@ -1491,6 +1496,7 @@ message TicketStatementQuery {
* - ARROW:FLIGHT:SQL:CATALOG_NAME - Table's catalog name
* - ARROW:FLIGHT:SQL:DB_SCHEMA_NAME - Database schema name
* - ARROW:FLIGHT:SQL:TABLE_NAME - Table name
* - ARROW:FLIGHT:SQL:TYPE_NAME - The data source-specific name for the data type of the column.
* - ARROW:FLIGHT:SQL:PRECISION - Column precision/size
* - ARROW:FLIGHT:SQL:SCALE - Column scale/decimal digits if applicable
* - ARROW:FLIGHT:SQL:IS_AUTO_INCREMENT - "1" indicates if the column is auto incremented, "0" otherwise.
Expand Down Expand Up @@ -1545,4 +1551,4 @@ message DoPutUpdateResult {

extend google.protobuf.MessageOptions {
bool experimental = 1000;
}
}

0 comments on commit af78557

Please sign in to comment.