{"record":{"id":"c53b1fbfe91d591d","repo":"apache/beam","slug":"encountered-a-type-that-is-not-currently-supported-by-row","errorCode":null,"errorMessage":"Encountered a type that is not currently supported by RowCoder: ${JSON.stringify(t)}","messagePattern":"Encountered a type that is not currently supported by RowCoder: (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"sdks/typescript/src/apache_beam/coders/row_coder.ts","lineNumber":313,"sourceCode":"          return {\n            encode: (element: any, writer: Writer, context: Context) =>\n              reprCoder.encode(\n                logicalTypeInfo.toRepr(element),\n                writer,\n                context,\n              ),\n            decode: (reader: Reader, context: Context) =>\n              logicalTypeInfo.fromRepr(reprCoder.decode(reader, context)),\n            toProto: (pipelineContext: ProtoContext) => {\n              throw new Error(\"Ephemeral coder.\");\n            },\n          };\n        } else {\n          throw new Error(`Unknown logical type: ${typeInfo.logicalType.urn}`);\n        }\n        break;\n      default:\n        throw new Error(\n          `Encountered a type that is not currently supported by RowCoder: ${JSON.stringify(\n            t,\n          )}`,\n        );\n    }\n  }\n\n  static fromSchema(schema: Schema): RowCoder {\n    return new RowCoder(schema);\n  }\n\n  static fromJSON(obj: any): RowCoder {\n    return new RowCoder(RowCoder.inferSchemaOfJSON(obj));\n  }\n\n  constructor(rawSchema: Schema | Uint8Array) {\n    const schema: Schema =\n      rawSchema instanceof Uint8Array","sourceCodeStart":295,"sourceCodeEnd":331,"githubUrl":"https://github.com/apache/beam/blob/12126d8942aaf848030c478b4c6a28c6af861c66/sdks/typescript/src/apache_beam/coders/row_coder.ts#L295-L331","documentation":"The fall-through guard at the end of getNonNullCoderFromType: the type info object matched none of the recognized oneof arms (atomicType, arrayType, rowType, logicalType, and the not-yet-implemented iterableType/mapType). The full serialized type is included in the message; the input at fault is the entire type descriptor being unsupported by this RowCoder implementation.","triggerScenarios":"Thrown at sdks/typescript/src/apache_beam/coders/row_coder.ts:313 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the JSON in the message to see which type kind (e.g. iterableType or mapType) you used; this RowCoder currently does not support it, so replace it with a supported type such as arrayType.","Update the TypeScript SDK to a version that implements the missing type kind, if one exists.","Restructure the pipeline to avoid coders for unsupported types (e.g. encode maps as arrays of rows)."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"12126d8942aaf848030c478b4c6a28c6af861c66","analyzedAt":"2026-09-13T01:50:10.254Z","contentChangedAt":"2026-09-13T01:50:10.254Z","schemaVersion":2},"datasetVersion":"2026-09-20T03:17:13.778Z"}