Skip to content

Instantly share code, notes, and snippets.

@rdblue
Last active December 13, 2023 23:40
Show Gist options
  • Save rdblue/d2b65bd2ad20f85ee9d04ccf19ac8aba to your computer and use it in GitHub Desktop.
Save rdblue/d2b65bd2ad20f85ee9d04ccf19ac8aba to your computer and use it in GitHub Desktop.
POST /v1/namespaces/ns/tables/t/scans
{ "filter": { "type": "in", "term": "x", "values": [1, 2, 3] }, "select": ["x", "a.b"]}
{ "scan-id": 1, "shards": { "id": 1, "manifests": ["C"] }, { "id": 2, "manifests": ["D"] } }
POST /v1/namespaces/ns/tables/t/scans?scan-id=1
{ "shard": { "id": 1, "manifests": ["C"] }, "filter": {"type": "in", "term": "x", "values": [1, 2, 3] } }
{ "file-scan-tasks": [...] }
POST /v1/namespaces/ns/tables/t/scans
{ "filter": {"type": "in", "term": "x", "values": [1, 2, 3] } }
{ "file-scan-tasks": [...] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment