Thread

  1. Re: Custom compression methods

    Adam Brusselback <adambrusselback@gmail.com> — 2017-11-06T01:00:14Z

    > If there's no data compressed
    > using the compression method you dropped, everything is cool -
    > otherwise everything is broken and there's no way to recover.
    > The only obvious alternative is to disallow DROP altogether (or make it
    > not really DROP).
    
    Wouldn't whatever was using the compression method have something
    marking which method was used? If so, couldn't we just scan if there is
    any data using it, and if so disallow the drop, or possibly an option to allow
    the drop and rewrite the table either uncompressed, or with the default
    compression method?