-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
If it is possible with the current codebase, are there any examples of how to put a schema together with a field that has a hyphen in it?
Unfortunately due to AWS naming, when using an EventBus you get a column name of something like "detail-type"...
I'm not sure what syntax would be in the current implementation but ultimately would need to be able to do something like the following (knowing that the following won't work because the syntax won't work in python)
# Event Bus Schema
class EventBusData(Schema):
account: Column[StringType]
detail: Column[TypedSparkStructType[MainDataStruct]]
detail-type: Column[StringType]
id: Column[StringType]
region: Column[StringType]
resources: Column[TypedSparkArrayType[StringType]]
source: Column[StringType]
time: Column[TimestampType]
version: Column[StringType]
Metadata
Metadata
Assignees
Labels
No labels