Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/review/storage-blob.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,10 @@ export interface BlobProperties {

// @public
export interface BlobQueryCsvTextConfiguration extends BlobQueryTextConfiguration {
columnSeparator: string;
columnSeparator?: string;
escapeCharacter?: string;
fieldQuote?: string;
hasHeaders: boolean;
hasHeaders?: boolean;
kind: "csv";
}

Expand Down
10 changes: 5 additions & 5 deletions sdk/storage/storage-blob/src/Clients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2734,12 +2734,12 @@ export interface BlobQueryCsvTextConfiguration extends BlobQueryTextConfiguratio
*/
kind: "csv";
/**
* Column separator.
* Column separator. Default is ",".
*
* @type {string}
* @memberof BlobQueryCsvTextConfiguration
*/
columnSeparator: string;
columnSeparator?: string;
/**
* Field quote.
*
Expand All @@ -2755,12 +2755,12 @@ export interface BlobQueryCsvTextConfiguration extends BlobQueryTextConfiguratio
*/
escapeCharacter?: string;
/**
* Has headers.
* Has headers. Default is false.
*
* @type {boolean}
* @memberof BlobQueryCsvTextConfiguration
*/
hasHeaders: boolean;
hasHeaders?: boolean;
}

/**
Expand Down Expand Up @@ -3445,7 +3445,7 @@ export class BlockBlobClient extends BlobClient {
): Promise<BlobDownloadResponseModel> {
ensureCpkIfSpecified(options.customerProvidedKey, this.isHttps);

const { span, spanOptions } = createSpan("BlobClient-query", options.tracingOptions);
const { span, spanOptions } = createSpan("BlockBlobClient-query", options.tracingOptions);

try {
const response = await this._blobContext.query({
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/src/utils/utils.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,11 @@ export function toQuerySerialization(
format: {
type: "delimited",
delimitedTextConfiguration: {
columnSeparator: textConfiguration.columnSeparator,
columnSeparator: textConfiguration.columnSeparator || ",",
fieldQuote: textConfiguration.fieldQuote || "",
recordSeparator: textConfiguration.recordSeparator,
escapeChar: textConfiguration.escapeCharacter || "",
headersPresent: textConfiguration.hasHeaders
headersPresent: textConfiguration.hasHeaders || false
}
}
};
Expand Down