In ES|QL, column verification happens before index filtering. For instance, if I exclude the frozen tier or add a time range filter, ES|QL will still complain about column type mismatches in indices that do not have data for the query. This is unhelpful in cases where e.g. data streams have been rolled over with type changes and old backing indices break a query that only hits recent data. Here's a reprod:
In ES|QL, column verification happens before index filtering. For instance, if I exclude the frozen tier or add a time range filter, ES|QL will still complain about column type mismatches in indices that do not have data for the query. This is unhelpful in cases where e.g. data streams have been rolled over with type changes and old backing indices break a query that only hits recent data. Here's a reprod: