We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0a220 commit 6f14bf3Copy full SHA for 6f14bf3
cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_result_set_metadata.cc
@@ -222,7 +222,9 @@ Updatability FlightSqlResultSetMetadata::GetUpdatable(int column_position) {
222
bool FlightSqlResultSetMetadata::IsAutoUnique(int column_position) {
223
ColumnMetadata metadata = GetMetadata(schema_->field(column_position - 1));
224
225
- // TODO: Is AutoUnique equivalent to AutoIncrement?
+ // AUTO_UNIQUE_VALUE (ODBC 3.0+, SQL_DESC_AUTO_UNIQUE_VALUE) is equivalent to
226
+ // AUTO_INCREMENT (ODBC 2.0, SQL_COLUMN_AUTO_INCREMENT). Both indicate columns
227
+ // that automatically generate unique values.
228
return metadata.GetIsAutoIncrement().ValueOrElse([] { return false; });
229
}
230
0 commit comments