-
It would be useful to be able to execute DESCRIBE over any arbitrary query instead of being limited to named tables.
Perhaps a syntax like `DESCRIBE (....)`, similar to what we do with SHOW STATS.
…
-
## 1. Background and Problems:
### 1.1 Postgres Extended Query Protocol
Compared to Postgres Simple Query Protocol, this extended one has a major change to support statement[1] caching, which is…
-
This leads to inconsistencies with mysql.
For example, sleep() in subqueries can't work.
![image](https://user-images.githubusercontent.com/5772358/120273498-276fca80-c2e1-11eb-81ab-cc0d41765a14…
-
I came across an issue that may actually be related to https://github.com/openlink/virtuoso-opensource/issues/400. When the query attached below is run against an instance of Virtuoso (OpenLink Virtuo…
-
### Is your feature request related to a problem or challenge?
In InfluxDB IOx, we want to improve this query plan:
```
Sort (col1, col2, col3, ... coln)
Union
Projection (col1, col2,…
-
When `ROW_NUMBER` is used for a TopK or Top1 (which seems to be quite common, even our internal VIEWs have it https://github.com/MaterializeInc/materialize/issues/16584), our optimizer could translate…
-
Hi,
I was working with two versions of Apricot, 0.5.0 and 0.6.0. I am using the Facility Locations Function, with a precomputed setting, by passing my own matrix. I have two kinds of matrices - on…
-
It seems that in some cases, implicitly applying the FIRST ROW optimization strategy degrades query performance.
The statistics for executing the following query in Firebird 4.0 and 5.0 are as foll…
-
**Describe the problem**
When `plan_cache_mode` is set to `force_generic_plan` some prepared inserts behave differently when processing a computed column that technically overflows but which can al…
-
```
What steps will reproduce the problem?
In main branch, the following Q1 and Q2 throws the exception, "The subtree does
not have any data source. [AlgebricksException]"
//--------- DDL
drop datav…