File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2021,6 +2021,8 @@ public void testChangePoint() {
20212021 var airports = AnalyzerTestUtils .analyzer (loadMapping ("mapping-airports.json" , "airports" ));
20222022 assertEquals ("1:30: Unknown column [blahblah]" , error ("FROM airports | CHANGE_POINT blahblah ON scalerank" , airports ));
20232023 assertEquals ("1:43: Unknown column [blahblah]" , error ("FROM airports | CHANGE_POINT scalerank ON blahblah" , airports ));
2024+ // TODO: nicer error message for missing default column "@timestamp"
2025+ assertEquals ("1:17: Unknown column [@timestamp]" , error ("FROM airports | CHANGE_POINT scalerank" , airports ));
20242026 }
20252027
20262028 public void testChangePoint_keySortable () {
You can’t perform that action at this time.
0 commit comments