do the has_pk_handle check before type check
@@ -193,8 +193,10 @@ pub fn check_columns_info_supported(columns_info: &[ColumnInfo]) -> Result<()> {
use std::convert::TryFrom;
for column in columns_info {
+ if column.has_pk_handle() {
box_try!(EvalType::try_from(column.tp()));
}
+ }
Ok(())
}
