protected function mapType($schema, $column)
    {
        $baseType = $schema->baseColumnType($column);
        switch ($baseType) {
        case 'uuid':
            return ['type' => 'text', 'index' => false, 'null_value' => '_null_'];
        case 'integer':
            return ['type' => 'integer', 'null_value' => pow(-2,31)];
        case 'date':
            return ['type' => 'date', 'format' => 'dateOptionalTime||basic_date||yyy-MM-dd', 'null_value' => '0001-01-01'];
        case 'datetime':
        case 'timestamp':
            return ['type' => 'date', 'format' => 'basic_t_time_no_millis||dateOptionalTime||basic_date_time||ordinal_date_time_no_millis||yyyy-MM-dd HH:mm:ss||basic_date', 'null_value' => '0001-01-01 00:00:00'];
        case 'float':
        case 'decimal':
            return ['type' => 'float', 'null_value' => pow(-2,31)];
        case 'float':
        case 'decimal':
            return ['type' => 'float', 'null_value' => pow(-2,31)];
        case 'boolean':
            return ['type' => 'boolean'];
        default:
            return [
                'type' => 'text',
                'fields' => [
                    $column => ['type' => 'text'],
                    'raw' => ['type' => 'text', 'index' => false]
                ]
            ];
        }
    }