azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

Support Select in Table service layer

Open jcookems opened this issue 14 years ago • 1 comments

The Table service layer provides the SelectFields property on the QueryEntitiesOptions, to allow for queries to contain $select. However, when using TableRestProxy.queryEntities, the request will fail when those properties are set:

400 Bad Request: One of the request inputs is not valid.

This appears to be because the request sets this header:

DataServiceVersion: 1.0;NetFx

which is not set when using the Table client layer to make a similar request.

(Edited to remove OrderBy, which is not supported in Azure Table: http://msdn.microsoft.com/en-us/library/dd135725.aspx)

jcookems avatar Apr 16 '12 19:04 jcookems

Select Supported for version 2011-08-18 and newer. Projection is supported. For more information, see Writing LINQ Queries.

gcheng avatar Feb 21 '13 22:02 gcheng