Regression with pushing down timestamp functions to PostgreSQL for timestamp with precision higher than 3
See original GitHub issueSELECT ts_col
FROM postgresql.public.tab
WHERE ts_col >= now() - interval '1' day
In 341
filter on ts_col is pushed down to Postgresql and index on ts_col
is used
In 342+
full table scan
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
9.9. Date/Time Functions and Operators - PostgreSQL
(Values of type date and time are cast automatically, to timestamp or interval respectively.) field selects to which precision to truncate the input...
Read more >PostgreSQL round timestamp seconds down for a postgres ...
To round down to the second, use date_trunc('seconds', :timestamp). Example: select date_trunc('seconds', '2012-09-19 ...
Read more >oracle_fdw: A Foreign Data Wrapper for Oracle ... - PGXN
It will return the versions of oracle_fdw, PostgreSQL server and Oracle client. ... Similarly, ORDER BY clauses will be pushed down to Oracle...
Read more >Documentation: 9.5: 9.9. Date/Time Functions and Operators
Dates and timestamps (with or without time zone) are all comparable, ... specified precision; see also Section 9.9.2, date_trunc('hour', interval '2 days 3...
Read more >rails timestamp - Eternal Elements
I have a table with 5 columns (not including timestamps and id) 3 of which are ... May 16, 2017 · gingerlime pushed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Already verified. It still exists (Actually, I first found it there 😃
https://github.com/prestosql/presto/pull/5692