code: def get_rewritten_query(self):
          
          rewrittenQuery = self._extract(_PartitionedQueryExecutionInfo.RewrittenQueryPath)
          if rewrittenQuery is not None:
              # Hardcode formattable filter to true for now 
              rewrittenQuery = rewrittenQuery.replace('{documentdb-formattableorderbyquery-filter}', 'true')
          return rewrittenQuery
docs: Returns rewritten query or None (if any)