Skip to content

Commit

Permalink
Time partition granularity (#4959)
Browse files Browse the repository at this point in the history
Signed-off-by: Yee Hing Tong <[email protected]>
  • Loading branch information
squiishyy authored Mar 5, 2024
1 parent 2adaf61 commit 7be904a
Show file tree
Hide file tree
Showing 12 changed files with 1,427 additions and 258 deletions.
74 changes: 57 additions & 17 deletions flyteidl/clients/go/assets/admin.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4197,20 +4197,6 @@
],
"default": "SINGLE"
},
"ComparisonExpressionOperator": {
"type": "string",
"enum": [
"EQ",
"NEQ",
"GT",
"GTE",
"LT",
"LTE"
],
"default": "EQ",
"description": "- GT: Greater Than\n - LT: Less Than",
"title": "Binary Operator for each expression"
},
"ConjunctionExpressionLogicalOperator": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -6481,8 +6467,8 @@
"bind_to_time_partition": {
"type": "boolean"
},
"transform": {
"type": "string",
"time_transform": {
"$ref": "#/definitions/coreTimeTransform",
"title": "This is only relevant in the time partition case"
}
},
Expand Down Expand Up @@ -6750,7 +6736,7 @@
"type": "object",
"properties": {
"operator": {
"$ref": "#/definitions/ComparisonExpressionOperator"
"$ref": "#/definitions/coreComparisonExpressionOperator"
},
"left_value": {
"$ref": "#/definitions/coreOperand"
Expand All @@ -6761,6 +6747,20 @@
},
"description": "Defines a 2-level tree where the root is a comparison operator and Operands are primitives or known variables.\nEach expression results in a boolean result."
},
"coreComparisonExpressionOperator": {
"type": "string",
"enum": [
"EQ",
"NEQ",
"GT",
"GTE",
"LT",
"LTE"
],
"default": "EQ",
"description": "- GT: Greater Than\n - LT: Less Than",
"title": "Binary Operator for each expression"
},
"coreCompiledLaunchPlan": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7038,6 +7038,18 @@
},
"description": "GateNode refers to the condition that is required for the gate to successfully complete."
},
"coreGranularity": {
"type": "string",
"enum": [
"UNSET",
"MINUTE",
"HOUR",
"DAY",
"MONTH"
],
"default": "UNSET",
"title": "- DAY: default"
},
"coreIOStrategy": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7205,6 +7217,9 @@
},
"input_binding": {
"$ref": "#/definitions/coreInputBindingData"
},
"runtime_binding": {
"$ref": "#/definitions/coreRuntimeBinding"
}
}
},
Expand Down Expand Up @@ -7688,6 +7703,9 @@
},
"description": "Retry strategy associated with an executable unit."
},
"coreRuntimeBinding": {
"type": "object"
},
"coreRuntimeMetadata": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -8145,6 +8163,20 @@
"properties": {
"value": {
"$ref": "#/definitions/coreLabelValue"
},
"granularity": {
"$ref": "#/definitions/coreGranularity"
}
}
},
"coreTimeTransform": {
"type": "object",
"properties": {
"transform": {
"type": "string"
},
"op": {
"$ref": "#/definitions/flyteidlcoreOperator"
}
}
},
Expand Down Expand Up @@ -8838,6 +8870,14 @@
},
"description": "A generic key value pair."
},
"flyteidlcoreOperator": {
"type": "string",
"enum": [
"MINUS",
"PLUS"
],
"default": "MINUS"
},
"flyteidlcoreSchema": {
"type": "object",
"properties": {
Expand Down
161 changes: 154 additions & 7 deletions flyteidl/gen/pb-es/flyteidl/core/artifact_id_pb.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7be904a

Please sign in to comment.