multinet-app / multinet-client

Multinet web client application
https://multinet-app.readthedocs.io
4 stars 3 forks source link

Disallow/regulate uploading data to an existing table #21

Closed JackWilb closed 4 years ago

JackWilb commented 5 years ago

Related to multinet-app/multinet-client#20. We should alert users if they're uploading a table and there is a name conflict. We should give the option to overwrite or to abort the upload.

JackWilb commented 4 years ago

Right now the current behavior is to append the files which doesn't seem like the best option

waxlamp commented 4 years ago

Is this specific to the CSV uploader?

JackWilb commented 4 years ago

Looks like I'm wrong, it doesn't append. It overwrites the table/ does nothing in uploader, I can't tell which because the server responds with 200 and the correct json response. This happens for all the types

waxlamp commented 4 years ago

I thought the CSV uploader does append to the target table, which, as you mentioned, is not ideal.

Do you mind investigating a bit and updating the initial comment in this thread with a description of what happens?