### 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/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerTests.java
}
    public void testDateTruncWithSwappedArguments() {
        verifyUnsupported("""
            from test
            | eval date_trunc(date, 1 month)
            """, "function definition has been updated, please swap arguments in [date_trunc(date, 1 month)]");
    }
    public void testDateTruncWithDateInterval() {
        verifyUnsupported("""
            from test
            | eval date_trunc(date, date)
            """, "second argument of [date_trunc(date, date)] must be [dateperiod or timeduration], found value [date] type [datetime]");
    }
    
    public void testAggsWithDuplicatesAndNonExistingFunction() throws Exception {
        verifyUnsupported("""
            row a = 1, b = 2
            | stats x = non_existing(a), x = count(a) by b
            """, "Unknown function [non_existing]");
    }
    
    public void testAggsWithDuplicatesAndNonExistingField() throws Exception {
        verifyUnsupported("""
            row a = 1, b = 2
            | stats x = max(non_existing), x = count(a) by b
            """, "Unknown column [non_existing]");
    }
    
    
    public void testAggsWithDuplicates() throws Exception {