CGI-FR / CGI-FR/LINO

[PROPOSAL] new raw SQL action

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

## Motivation

Some simple sql queries have better optimization than LINO'pull algorithm (such as DISTINCT).

## Proposal

This is a proposal to add a new `sql` action. SQL query is read from standard input and result is dump as jsonline in standard output.

## Example

```bash
$ echo "select * from public.customer" | lino sql source
{"id" : 1, "name": "Robert"}
{"id" : 2, "name": "Nick"}
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.