Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to remove / delete data? #264

Closed
jaredmcqueen opened this issue Oct 28, 2019 · 3 comments
Closed

Is it possible to remove / delete data? #264

jaredmcqueen opened this issue Oct 28, 2019 · 3 comments

Comments

@jaredmcqueen
Copy link
Contributor

I searched these issues, documentation, and even the source code for the python client.

Is it currently possible to remove data from marketstore via the api?

@zjhmale
Copy link
Contributor

zjhmale commented Feb 22, 2020

Hi, through the source code, there is a trim command to do this job.

@goodboy
Copy link
Contributor

goodboy commented Jun 4, 2020

@jaredmcqueen yes, you use the pymarketstore.Client.destroy() method. I'm not sure if you can remove individual rows from a single time bucket table or not.

@goodboy
Copy link
Contributor

goodboy commented Jun 4, 2020

@zjhmale I assume you're referring to this function?.

goodboy added a commit to pikers/piker that referenced this issue May 18, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
goodboy added a commit to pikers/piker that referenced this issue May 21, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
goodboy added a commit to pikers/piker that referenced this issue May 25, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
goodboy added a commit to pikers/piker that referenced this issue Jun 3, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
goodboy added a commit to pikers/piker that referenced this issue Jun 4, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
goodboy added a commit to pikers/piker that referenced this issue Jun 6, 2022
Which is basically just "deleting" rows from a column series.
You can only use the trim command from the `.cmd` cli and only with a so
called `LocalClient` currently; it's also sketchy af and caused
a machine to hang due to mem usage..

Ideally we can patch in this functionality for use by the rpc api
and have it not hang like this XD

Pertains to alpacahq/marketstore#264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants