From 428a49a5309d7ec4c95d9d5a0ccdc6a1dfc3816c Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Mon, 29 Aug 2022 21:55:26 -0400 Subject: [PATCH 1/2] Fix yaml duplicated mapping key * Fix TypeScript tests broken --- .../org/apache/beam/model/fnexecution/v1/standard_coders.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml b/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml index a4482328e768..ef06fe179672 100644 --- a/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml +++ b/model/fn-execution/src/main/resources/org/apache/beam/model/fnexecution/v1/standard_coders.yaml @@ -453,6 +453,8 @@ coder: examples: "\x03\x00\x02\x00\xb6\x95\xd5\xf9\x05\xc0\xc4\x07\x1b2020-08-13T14:14:14.123456Z\xc0\xf7\x85\xda\xae\x98\xeb\x02": {f_timestamp: {seconds: 1597328054, micros: 123456}, f_string: "2020-08-13T14:14:14.123456Z", f_int: 1597328054123456} +--- + coder: urn: "beam:coder:row:v1" # f_timestamp: logical(millis_instant), f_string: string, f_int: int64 From a7569eb26865c72c93a920eaf66837f04c0602d1 Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Mon, 29 Aug 2022 22:02:07 -0400 Subject: [PATCH 2/2] Irrelevant type fix in order to trigger ts unit test task --- sdks/typescript/src/apache_beam/proto/beam_runner_api.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdks/typescript/src/apache_beam/proto/beam_runner_api.ts b/sdks/typescript/src/apache_beam/proto/beam_runner_api.ts index e1b4d95ce079..a38f5736bbce 100644 --- a/sdks/typescript/src/apache_beam/proto/beam_runner_api.ts +++ b/sdks/typescript/src/apache_beam/proto/beam_runner_api.ts @@ -2618,19 +2618,19 @@ export interface StandardProtocols { */ export enum StandardProtocols_Enum { /** - * Indicates suport for progress reporting via the legacy Metrics proto. + * Indicates support for progress reporting via the legacy Metrics proto. * * @generated from protobuf enum value: LEGACY_PROGRESS_REPORTING = 0; */ LEGACY_PROGRESS_REPORTING = 0, /** - * Indicates suport for progress reporting via the new MonitoringInfo proto. + * Indicates support for progress reporting via the new MonitoringInfo proto. * * @generated from protobuf enum value: PROGRESS_REPORTING = 1; */ PROGRESS_REPORTING = 1, /** - * Indicates suport for worker status protocol defined at + * Indicates support for worker status protocol defined at * https://s.apache.org/beam-fn-api-harness-status. * * @generated from protobuf enum value: WORKER_STATUS = 2; @@ -2685,7 +2685,7 @@ export interface StandardRunnerProtocols { */ export enum StandardRunnerProtocols_Enum { /** - * Indicates suport the MonitoringInfo short id protocol. + * Indicates support the MonitoringInfo short id protocol. * * @generated from protobuf enum value: MONITORING_INFO_SHORT_IDS = 0; */