Skip to content

Commit 6ecec2d

Browse files
authored
Align with service and documentation where Blob Quick Query XML elements are optional instead of required (#14688)
1 parent 9adc7d2 commit 6ecec2d

File tree

6 files changed

+70
-130
lines changed

6 files changed

+70
-130
lines changed

specification/storage/data-plane/Microsoft.BlobStorage/preview/2019-12-12/blob.json

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10030,47 +10030,40 @@
1003010030
"xml": {
1003110031
"name": "DelimitedTextConfiguration"
1003210032
},
10033-
"description": "delimited text configuration",
10033+
"description": "Groups the settings used for interpreting the blob data if the blob is delimited text formatted.",
1003410034
"type": "object",
10035-
"required": [
10036-
"ColumnSeparator",
10037-
"FieldQuote",
10038-
"RecordSeparator",
10039-
"EscapeChar",
10040-
"HeadersPresent"
10041-
],
1004210035
"properties": {
1004310036
"ColumnSeparator": {
1004410037
"type": "string",
10045-
"description": "column separator",
10038+
"description": "The string used to separate columns.",
1004610039
"xml": {
1004710040
"name": "ColumnSeparator"
1004810041
}
1004910042
},
1005010043
"FieldQuote": {
1005110044
"type": "string",
10052-
"description": "field quote",
10045+
"description": "The string used to quote a specific field.",
1005310046
"xml": {
1005410047
"name": "FieldQuote"
1005510048
}
1005610049
},
1005710050
"RecordSeparator": {
1005810051
"type": "string",
10059-
"description": "record separator",
10052+
"description": "The string used to separate records.",
1006010053
"xml": {
1006110054
"name": "RecordSeparator"
1006210055
}
1006310056
},
1006410057
"EscapeChar": {
1006510058
"type": "string",
10066-
"description": "escape char",
10059+
"description": "The string used as an escape character.",
1006710060
"xml": {
1006810061
"name": "EscapeChar"
1006910062
}
1007010063
},
1007110064
"HeadersPresent": {
1007210065
"type": "boolean",
10073-
"description": "has headers",
10066+
"description": "Represents whether the data has headers.",
1007410067
"xml": {
1007510068
"name": "HasHeaders"
1007610069
}
@@ -10083,13 +10076,10 @@
1008310076
},
1008410077
"description": "json text configuration",
1008510078
"type": "object",
10086-
"required": [
10087-
"RecordSeparator"
10088-
],
1008910079
"properties": {
1009010080
"RecordSeparator": {
1009110081
"type": "string",
10092-
"description": "record separator",
10082+
"description": "The string used to separate records.",
1009310083
"xml": {
1009410084
"name": "RecordSeparator"
1009510085
}
@@ -10542,7 +10532,7 @@
1054210532
}
1054310533
},
1054410534
"QueryRequest": {
10545-
"description": "the quick query body",
10535+
"description": "Groups the set of query request settings.",
1054610536
"type": "object",
1054710537
"required": [
1054810538
"QueryType",
@@ -10551,7 +10541,7 @@
1055110541
"properties": {
1055210542
"QueryType": {
1055310543
"type": "string",
10554-
"description": "the query type",
10544+
"description": "Required. The type of the provided query expression.",
1055510545
"xml": {
1055610546
"name": "QueryType"
1055710547
},
@@ -10561,7 +10551,7 @@
1056110551
},
1056210552
"Expression": {
1056310553
"type": "string",
10564-
"description": "a query statement",
10554+
"description": "The query expression in SQL. The maximum size of the query expression is 256KiB.",
1056510555
"xml": {
1056610556
"name": "Expression"
1056710557
}

specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-02-10/blob.json

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10053,47 +10053,40 @@
1005310053
"xml": {
1005410054
"name": "DelimitedTextConfiguration"
1005510055
},
10056-
"description": "delimited text configuration",
10056+
"description": "Groups the settings used for interpreting the blob data if the blob is delimited text formatted.",
1005710057
"type": "object",
10058-
"required": [
10059-
"ColumnSeparator",
10060-
"FieldQuote",
10061-
"RecordSeparator",
10062-
"EscapeChar",
10063-
"HeadersPresent"
10064-
],
1006510058
"properties": {
1006610059
"ColumnSeparator": {
1006710060
"type": "string",
10068-
"description": "column separator",
10061+
"description": "The string used to separate columns.",
1006910062
"xml": {
1007010063
"name": "ColumnSeparator"
1007110064
}
1007210065
},
1007310066
"FieldQuote": {
1007410067
"type": "string",
10075-
"description": "field quote",
10068+
"description": "The string used to quote a specific field.",
1007610069
"xml": {
1007710070
"name": "FieldQuote"
1007810071
}
1007910072
},
1008010073
"RecordSeparator": {
1008110074
"type": "string",
10082-
"description": "record separator",
10075+
"description": "The string used to separate records.",
1008310076
"xml": {
1008410077
"name": "RecordSeparator"
1008510078
}
1008610079
},
1008710080
"EscapeChar": {
1008810081
"type": "string",
10089-
"description": "escape char",
10082+
"description": "The string used as an escape character.",
1009010083
"xml": {
1009110084
"name": "EscapeChar"
1009210085
}
1009310086
},
1009410087
"HeadersPresent": {
1009510088
"type": "boolean",
10096-
"description": "has headers",
10089+
"description": "Represents whether the data has headers.",
1009710090
"xml": {
1009810091
"name": "HasHeaders"
1009910092
}
@@ -10106,13 +10099,10 @@
1010610099
},
1010710100
"description": "json text configuration",
1010810101
"type": "object",
10109-
"required": [
10110-
"RecordSeparator"
10111-
],
1011210102
"properties": {
1011310103
"RecordSeparator": {
1011410104
"type": "string",
10115-
"description": "record separator",
10105+
"description": "The string used to separate records.",
1011610106
"xml": {
1011710107
"name": "RecordSeparator"
1011810108
}
@@ -10123,7 +10113,7 @@
1012310113
"xml": {
1012410114
"name": "ArrowConfiguration"
1012510115
},
10126-
"description": "arrow configuration",
10116+
"description": "Groups the settings used for formatting the response if the response should be Arrow formatted.",
1012710117
"type": "object",
1012810118
"required": [
1012910119
"Schema"
@@ -10145,7 +10135,7 @@
1014510135
"xml": {
1014610136
"name": "Field"
1014710137
},
10148-
"description": "field of an arrow schema",
10138+
"description": "Groups settings regarding specific field of an arrow schema",
1014910139
"type": "object",
1015010140
"required": [
1015110141
"Type"
@@ -10611,7 +10601,7 @@
1061110601
}
1061210602
},
1061310603
"QueryRequest": {
10614-
"description": "the quick query body",
10604+
"description": "Groups the set of query request settings.",
1061510605
"type": "object",
1061610606
"required": [
1061710607
"QueryType",
@@ -10620,7 +10610,7 @@
1062010610
"properties": {
1062110611
"QueryType": {
1062210612
"type": "string",
10623-
"description": "the query type",
10613+
"description": "Required. The type of the provided query expression.",
1062410614
"xml": {
1062510615
"name": "QueryType"
1062610616
},
@@ -10630,7 +10620,7 @@
1063010620
},
1063110621
"Expression": {
1063210622
"type": "string",
10633-
"description": "a query statement",
10623+
"description": "The query expression in SQL. The maximum size of the query expression is 256KiB.",
1063410624
"xml": {
1063510625
"name": "Expression"
1063610626
}

specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-04-08/blob.json

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10435,47 +10435,40 @@
1043510435
"xml": {
1043610436
"name": "DelimitedTextConfiguration"
1043710437
},
10438-
"description": "delimited text configuration",
10438+
"description": "Groups the settings used for interpreting the blob data if the blob is delimited text formatted.",
1043910439
"type": "object",
10440-
"required": [
10441-
"ColumnSeparator",
10442-
"FieldQuote",
10443-
"RecordSeparator",
10444-
"EscapeChar",
10445-
"HeadersPresent"
10446-
],
1044710440
"properties": {
1044810441
"ColumnSeparator": {
1044910442
"type": "string",
10450-
"description": "column separator",
10443+
"description": "The string used to separate columns.",
1045110444
"xml": {
1045210445
"name": "ColumnSeparator"
1045310446
}
1045410447
},
1045510448
"FieldQuote": {
1045610449
"type": "string",
10457-
"description": "field quote",
10450+
"description": "The string used to quote a specific field.",
1045810451
"xml": {
1045910452
"name": "FieldQuote"
1046010453
}
1046110454
},
1046210455
"RecordSeparator": {
1046310456
"type": "string",
10464-
"description": "record separator",
10457+
"description": "The string used to separate records.",
1046510458
"xml": {
1046610459
"name": "RecordSeparator"
1046710460
}
1046810461
},
1046910462
"EscapeChar": {
1047010463
"type": "string",
10471-
"description": "escape char",
10464+
"description": "The string used as an escape character.",
1047210465
"xml": {
1047310466
"name": "EscapeChar"
1047410467
}
1047510468
},
1047610469
"HeadersPresent": {
1047710470
"type": "boolean",
10478-
"description": "has headers",
10471+
"description": "Represents whether the data has headers.",
1047910472
"xml": {
1048010473
"name": "HasHeaders"
1048110474
}
@@ -10488,13 +10481,10 @@
1048810481
},
1048910482
"description": "json text configuration",
1049010483
"type": "object",
10491-
"required": [
10492-
"RecordSeparator"
10493-
],
1049410484
"properties": {
1049510485
"RecordSeparator": {
1049610486
"type": "string",
10497-
"description": "record separator",
10487+
"description": "The string used to separate records.",
1049810488
"xml": {
1049910489
"name": "RecordSeparator"
1050010490
}
@@ -10505,7 +10495,7 @@
1050510495
"xml": {
1050610496
"name": "ArrowConfiguration"
1050710497
},
10508-
"description": "arrow configuration",
10498+
"description": "Groups the settings used for formatting the response if the response should be Arrow formatted.",
1050910499
"type": "object",
1051010500
"required": [
1051110501
"Schema"
@@ -10527,7 +10517,7 @@
1052710517
"xml": {
1052810518
"name": "Field"
1052910519
},
10530-
"description": "field of an arrow schema",
10520+
"description": "Groups settings regarding specific field of an arrow schema",
1053110521
"type": "object",
1053210522
"required": [
1053310523
"Type"
@@ -10993,7 +10983,7 @@
1099310983
}
1099410984
},
1099510985
"QueryRequest": {
10996-
"description": "the quick query body",
10986+
"description": "Groups the set of query request settings.",
1099710987
"type": "object",
1099810988
"required": [
1099910989
"QueryType",
@@ -11002,7 +10992,7 @@
1100210992
"properties": {
1100310993
"QueryType": {
1100410994
"type": "string",
11005-
"description": "the query type",
10995+
"description": "Required. The type of the provided query expression.",
1100610996
"xml": {
1100710997
"name": "QueryType"
1100810998
},
@@ -11012,7 +11002,7 @@
1101211002
},
1101311003
"Expression": {
1101411004
"type": "string",
11015-
"description": "a query statement",
11005+
"description": "The query expression in SQL. The maximum size of the query expression is 256KiB.",
1101611006
"xml": {
1101711007
"name": "Expression"
1101811008
}

0 commit comments

Comments
 (0)