-
**Description**:
After implementing the SQL and PostgreSQL storage backends, we need to optimize the SQL queries used for token management and client data retrieval to ensure high performance. This i…
-
-
In adhoc queries, casting INT to TIMESTAMP (`value::TIMESTAMP`) takes the INT value as the EPOCH and converts it to the equivalent TIMESTAMP.
```sql
-- adhoc query
SELECT 1729595568::TIMESTAMP;
…
-
The queries in the [sql activity update job](https://github.com/cockroachdb/cockroach/blob/9f61a38b670e57873509568f67bb665e50cd1935/pkg/sql/sql_activity_update_job.go#L269) that select the top-k data …
-
### Discussed in https://github.com/grafana/opensearch-datasource/discussions/22
Originally posted by **diogocp** January 7, 2022
Opensearch allows writing SQL queries. Grafana should support…
-
**Describe the bug**
The instructor SQL Toolbox feature bans queries which use "WITH ... AS" subqueries despite those queries still being read-only.
**Expected behavior**
WITH ... AS subqueries a…
-
## Describe the feature
Allow escaping `%` and `_` in `like` SQL queries sent to database using `ESCAPE` clause as described on:
https://www.sqlitetutorial.net/sqlite-like/
https://mariadb.com/…
-
Reopening #838 since the original was closed without actually addressing the issue.
Adding `TLDR` section this time to make sure people understand the issue before closing it.
## TLDR
✔ `odata_…
-
### Version
1.25.0
### What happened?
Copy or Load data should have gone without any error.
### Relevant log output
```shell
can't encode type float64 to TSV
```
### Database schema
```sql
CRE…
-
С помощью либы sqlc подготовить код с запросами к БД.
## TODO
- SQL код разместить в `internal/database/backend/queries`
- генерируемый код и yaml настройки sqlc в `internal/database/backend/`
- в…