File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -3321,6 +3321,10 @@ else if (format == AVRO) {
33213321 // year()
33223322 assertThat(query("SELECT * FROM test_year_transform_timestamptz WHERE year(d) = 2015"))
33233323 .isFullyPushedDown();
3324+ assertThat(query("SELECT * FROM test_year_transform_timestamptz WHERE year(d) IS DISTINCT FROM 2015"))
3325+ .isNotFullyPushedDown(FilterNode.class);
3326+ assertThat(query("SELECT * FROM test_year_transform_timestamptz WHERE year(d) IS NOT DISTINCT FROM 2015"))
3327+ .isFullyPushedDown();
33243328
33253329 // date_trunc
33263330 assertThat(query("SELECT * FROM test_year_transform_timestamptz WHERE date_trunc('year', d) = TIMESTAMP '2015-01-01 00:00:00.000000 UTC'"))
You can’t perform that action at this time.
0 commit comments