my $colinfo = $self->column_info ($column);
# cache for speed
- if (not defined $colinfo->{is_numeric}) {
+ if (not defined $colinfo->{is_numeric} && $self->_source_handle) {
$colinfo->{is_numeric} =
$self->result_source->schema->storage->is_datatype_numeric ($colinfo->{data_type})
? 1