Patent ID: 9652501
Date: 2017-05-16
CPC Classifications: G06F

Claim:
1. A computer-implemented method comprising: obtaining, by a distributed database system, a first query plan for computing query results from a database having data in compressed form, wherein the first query plan specifies that a first set of one or more operators are to be executed downstream from one or more decompress operators that are to be applied to data in compressed form to generate data in decompressed form; determining that the first query plan is logically equivalent to a second query plan specifying that a second set of one or more operators are to be executed (i) instead of the first set of one or more operators, and (ii) upstream from one or more decompress operators that are to be applied to data in compressed form to generate data in decompressed form; and in response to determining that the first query plan is logically equivalent to the second query plan, obtaining query results from the database according to the second query plan.