### Description

The date_xxx() arguments have been swapped to always have the field parameter last. This has been done to align with other implementations of similar functionality (which users would be accustomed to).
This issue is a reminder to remove this warning once any existing usages have been corrected.

Related: #98624, #99561.
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/scalar/date/DateExtract.java
}
        TypeResolution resolution = argumentTypesAreSwapped(
            children().get(0).dataType(),
            children().get(1).dataType(),
            DataTypes::isString,
            sourceText()
        );
        if (resolution.unresolved()) {
            return resolution;
        }
        resolution = isStringAndExact(children().get(0), sourceText(), TypeResolutions.ParamOrdinal.FIRST);
        if (resolution.unresolved()) {
            return resolution;
        }
        resolution = isDate(children().get(1), sourceText(), TypeResolutions.ParamOrdinal.SECOND);
        if (resolution.unresolved()) {
            return resolution;
        }
        return TypeResolution.TYPE_RESOLVED;
    }
    @Override
    public boolean foldable() {
        return children().get(0).foldable() && children().get(1).foldable();
    }
    @Override
    public Object fold() {
        return EvaluatorMapper.super.fold();
    }
}