-
Need to have year, crop, season, field, farm location, operation type, date range
e.g. all the CTE's for "Wheat harvest 2022" to construct the full trace of what went where
This likely applies t…
-
Issue happens in the latest CH version. When a subquery has an `IN` clause with a list of CTEs in the right hand side, these are not recognized and the query reports an error.
```sql
CREATE TABLE…
-
**Describe the bug**
Using `mssql` when my cube sql contains a CTE, I can't perform aggregations.
The following is valid syntax:
```
WITH cte_employees AS (
select employee from employee_tab…
-
## Enhancement
If a query has any CTE tables, the optimizer will skip Plan Cache for this table, see the case below:
```
mysql> create table tt (a int);
Query OK, 0 rows affected (0.02 sec)
mys…
-
### Describe the bug
Currently Datafusion will inline all CTE, a non-deterministic expression can be executed multiple times producing different results
### To Reproduce
Consider the following qu…
-
**请详细描述需要增加的功能**
比如使用cte以后要怎么进行自动分页
例如
with user as (
select * from a
),
with depart as (
select * from b
)
select * from a left join b on a.departId=b.id
这种查询怎么进行分页处理
-
Currently only strategy `CteMaterializationStrategy.ALL` is supported i.e all ctes will be materialized.
We need to support a cost based strategy which uses plan cost to determine materializable ctes…
-
Переделать на join-ключи, если совпадает
-
GOAL: find the id, kind with most occurrences, and then count occurrences per 20 second time group. I've added 4 variations on the same query here, a) recursive CTE, b) two separate queries, c) query …
-
Buenas tardes, queria consultar respecto al estilo de los archivos.
En una parte de mi codigo tengo este for, donde `infractionId` y `description` son ctes previamente definidas en el header, depen…