public Stream<String> getTableNames() {
      return queryInfo.getInputs().stream()
          .filter(readEntity -> readEntity.getType() == Type.TABLE)
          .map(readEntity -> readEntity.getTable().getFullyQualifiedName());
    }
Wait for the cache entry to go from PENDING to VALID status.
@return true if the cache entry successfully changed to VALID status,
        false if the status changes from PENDING to INVALID
ql/src/java/org/apache/hadoop/hive/ql/cache/results/QueryResultsCache.java