What is the bug?
When running a direct query, the following query would work and return results
SELECT *
FROM table1
WHERE time_dt BETWEEN CURRENT_TIMESTAMP - INTERVAL '7' DAY AND CURRENT_TIMESTAMP
LIMIT 10
However, when running the same query against a materialized view, covering index, or ingested data, it would error out. After removing the timestamp where clause, the query would go through:
Bad Request, this query is not runnable.
How can one reproduce the bug?
Steps to reproduce the behavior:
Add WHERE timestamp BETWEEN CURRENT_TIMESTAMP - INTERVAL '7' DAY AND CURRENT_TIMESTAMP to any query, and run it against a flint table.
Create a materialized view from the same flint table.
Run the same query against the materialized view you just created, and the timestamp filter will make the query error out.
What is the expected behavior?
The timestamp comparison should work for both flint and local index.
What is your host/environment?
OS: [e.g. iOS]
Version 2.13, and I also ran the query in future.playground against ingested data.
Plugins
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
What is the bug? When running a direct query, the following query would work and return results
However, when running the same query against a materialized view, covering index, or ingested data, it would error out. After removing the timestamp where clause, the query would go through:
Bad Request, this query is not runnable.
How can one reproduce the bug? Steps to reproduce the behavior:
WHERE timestamp BETWEEN CURRENT_TIMESTAMP - INTERVAL '7' DAY AND CURRENT_TIMESTAMP
to any query, and run it against a flint table.What is the expected behavior? The timestamp comparison should work for both flint and local index.
What is your host/environment?
Do you have any screenshots? If applicable, add screenshots to help explain your problem.
Do you have any additional context? Add any other context about the problem.