Skip to content

Commit

Permalink
add maxrowperfile/filenameprefix (#10666)
Browse files Browse the repository at this point in the history
Co-authored-by: Haoran Sun <haorsun@microsoft.com>
  • Loading branch information
rickysun93 and Haoran Sun authored Sep 8, 2020
1 parent 8f09f31 commit 3308ab5
Showing 1 changed file with 62 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,52 @@
"recordNamespace": {
"type": "string",
"description": "Record namespace in the write result."
},
"maxRowsPerFile": {
"type": "object",
"description": "Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer)."
},
"fileNamePrefix": {
"type": "object",
"description": "Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)."
}
}
},
"OrcWriteSettings": {
"description": "Orc write settings.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/FormatWriteSettings"
}
],
"properties": {
"maxRowsPerFile": {
"type": "object",
"description": "Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer)."
},
"fileNamePrefix": {
"type": "object",
"description": "Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)."
}
}
},
"ParquetWriteSettings": {
"description": "Parquet write settings.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/FormatWriteSettings"
}
],
"properties": {
"maxRowsPerFile": {
"type": "object",
"description": "Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer)."
},
"fileNamePrefix": {
"type": "object",
"description": "Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)."
}
}
},
Expand All @@ -1085,6 +1131,14 @@
"fileExtension": {
"type": "object",
"description": "The file extension used to create the files. Type: string (or Expression with resultType string)."
},
"maxRowsPerFile": {
"type": "object",
"description": "Limit the written file's row count to be smaller than or equal to the specified count. Type: integer (or Expression with resultType integer)."
},
"fileNamePrefix": {
"type": "object",
"description": "Specifies the file name pattern <fileNamePrefix>_<fileIndex>.<fileExtension> when copy from non-file based store without partitionOptions. Type: string (or Expression with resultType string)."
}
},
"required": [
Expand Down Expand Up @@ -1330,6 +1384,10 @@
"storeSettings": {
"$ref": "#/definitions/StoreWriteSettings",
"description": "ORC store settings."
},
"formatSettings": {
"$ref": "#/definitions/OrcWriteSettings",
"description": "ORC format settings."
}
}
},
Expand Down Expand Up @@ -3739,6 +3797,10 @@
"storeSettings": {
"$ref": "#/definitions/StoreWriteSettings",
"description": "Parquet store settings."
},
"formatSettings": {
"$ref": "#/definitions/ParquetWriteSettings",
"description": "Parquet format settings."
}
}
},
Expand Down

0 comments on commit 3308ab5

Please sign in to comment.