You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/sql/src/test/java/org/elasticsearch/xpack/sql/expression/function/scalar/datetime/DateTimeToCharProcessorTests.java
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,15 @@
33
33
/**
34
34
* Tests the {@link ToCharFormatter} against actual PostgreSQL output.
35
35
*
36
+
* <p>
37
+
* Note: Recreating the data set has some complexities,
38
+
* as modern Postgres versions (+12) don't have some of the configured timezones,
39
+
* and they also may generate different results for dates before 1900.
40
+
* </p>
41
+
* <p>
42
+
* Consider if it's worth changing the dataset for this test.
43
+
* </p>
44
+
*
36
45
* Process to (re)generate the test data:
37
46
* <ol>
38
47
* <li>Run the @{link {@link ToCharTestScript#main(String[])}} class</li>
0 commit comments