title: Cosmos DB Stored procedure did not execute without PartitionKey
body: <p>I have a collection which has PartitionKey.i have a made a stored procedure which accepts query as a parameter. in this stored procedure, I'm fetching some documents to update but while fetching it shows an error saying provide PartitionKey when I use the method </p>
  
  <pre><code>public Task&lt;StoredProcedureResponse&lt;TValue&gt;&gt; ExecuteStoredProcedureAsync&lt;TValue&gt;(Uri storedProcedureUri, [Dynamic(new[] { false, true })] params dynamic[] procedureParams);
  </code></pre>
  
  <p>while using the other method </p>
  
  <pre><code>public Task&lt;StoredProcedureResponse&lt;TValue&gt;&gt; ExecuteStoredProcedureAsync&lt;TValue&gt;(string storedProcedureLink, RequestOptions options, [Dynamic(new[] { false, true })] params dynamic[] procedureParams);
  </code></pre>
  
  <p>in this method, I have Pass the PartitionKey as </p>
  
  <pre><code>new RequestOptions { PartitionKey = new PartitionKey(Undefined.Value)
  </code></pre>
  
  <p>while using this RequestOptions in the Stored Procedure no Document is Fetch.</p>
  
  <pre><code>function ABC(query) {
  var collection = getContext().getCollection();
  var collectionLink = collection.getSelfLink();
  var response = getContext().getResponse();
  // Validate input.
  if (!query) throw new Error("The query is undefined or null.");
  
  tryQueryAndDelete();
  
  function tryQueryAndDelete(continuation) {
      var requestOptions = { continuation: continuation };
  
      var isAccepted = collection.queryDocuments(collectionLink, query, requestOptions, function (err, retrievedDocs, responseOptions) {
          if (err) throw err;
  
          if (retrievedDocs.length &gt; 0) {
             console.log("Doc Found");
          } else {
             console.log("Doc not Found");
  
          }
      });
  }
  </code></pre>
  
  <p>}</p>
  
  <p>is there anyway so that I can fetch the documents without passing the PartitionKey?</p>