Sounds like a race condition. Deletes aren't instantaneous. The system
makes tombstone records first and those are processed at the next
compaction. Can you wait overnight before trying to re-write the data to a
dropped measurement?

Also, I'd recommend using DROP MEASUREMENT myseries. That's the same
effective command as DROP SERIES FROM myseries, but it doesn't have to do
any index lookups.

On Thu, Oct 6, 2016 at 4:43 PM, <[email protected]> wrote:

> I've tried renaming a field type with no success. Where field2 is
> erroneously stored as integer and I want it to be a float:
>
> select time, tag1, tag2, field1, field2::float into myseries_new from
> myseries;
>
> myseries_new now has field2 as float. So far so good.
>
> drop series from myseries;
> select time, tag1, tag2, field1, field2 into myseries from myseries_new;
>
> This fails because in myseries, field2 still shows as type integer when
> doing show field keys.
>
> Was myseries actually never "deleted" in the first place?
>
> --
> Remember to include the InfluxDB version number with all issue reports
> ---
> You received this message because you are subscribed to the Google Groups
> "InfluxDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/influxdb.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/influxdb/5626e694-7409-431c-a5ee-ff7e42f1e455%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CALGqCvMhP0-wTp4OoKAYYaE-TDTaqPaKZ83W40uRv1-iALgx2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to