Patent 10592506 was granted and assigned to Amazon on March, 2020 by the United States Patent and Trademark Office.
A query optimizer may receive a query block that includes a hint. The hint may include a unique object identifier to specify an object to which the hint applies. In some instances, the object may correspond to a nested query block. A query optimization plan may be determined based, at least in part, on the hint. The query execution plan may then be executed to query a data store.