-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
(This applies to all clients)
Currently they're all just thin wrappers around GET, PUT, POST, etc, which is a good foundation that gives users a lot of flexibility. But we should build on what we already have by adding calls that abstract away HTTP completely:
stride.create_process('process0', 'SELECT x, count(*) FROM s GROUP BY x')
{
'name': 'process0',
'query': 'SELECT x, count(*) FROM s GROUP BY x',
'action': 'MATERIALIZE',
'args': {}
}
stride.collect('s', [{'x': 0}, {'x': 1}, ...])
stride.analyze('SELECT * FROM process0')
[(0, 10), (1, 20), ...]
stride.save_analyze('analyze_name', 'SELECT * FROM process0')
{
'name': 'analyze_name',
'query': 'SELECT * FROM process0'
}
etc...
Metadata
Metadata
Assignees
Labels
No labels