Enum arrow_odbc::Error [−][src]
pub enum Error {
UnsupportedArrowType(ArrowDataType),
FailedToDescribeColumn(Error),
UnknownStringLength {
sql_type: OdbcDataType,
source: Error,
},
InvalidDisplaySize(isize),
UnableToRetrieveNumCols(Error),
}Expand description
A variation of things which can go wrong then creating an OdbcReader.
Variants
UnsupportedArrowType(ArrowDataType)
Tuple Fields
The type specified in the arrow schema is not supported to be fetched from the database.
FailedToDescribeColumn(Error)
Tuple Fields
0: ErrorAt ODBC api calls gaining information about the columns did fail.
UnknownStringLength
Unable to retrieve the column display size for the column.
InvalidDisplaySize(isize)
Tuple Fields
0: isizeWe are getting a display or octet size from ODBC but it is not larger than 0.
UnableToRetrieveNumCols(Error)
Tuple Fields
0: ErrorFailure to retrieve the number of columns from the result set.
