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)
The type specified in the arrow schema is not supported to be fetched from the database.
Tuple Fields of UnsupportedArrowType
FailedToDescribeColumn(Error)
At ODBC api calls gaining information about the columns did fail.
Tuple Fields of FailedToDescribeColumn
0: Error
Unable to retrieve the column display size for the column.
Fields of UnknownStringLength
sql_type: OdbcDataType
source: Error
InvalidDisplaySize(isize)
We are getting a display or octet size from ODBC but it is not larger than 0.
Tuple Fields of InvalidDisplaySize
0: isize
UnableToRetrieveNumCols(Error)
Failure to retrieve the number of columns from the result set.
Tuple Fields of UnableToRetrieveNumCols
0: Error