Skip to content

Commit

Permalink
Fix mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Amar3tto committed Mar 13, 2024
1 parent 0a6bf97 commit 6fccfe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Python/yaml/kafka_to_bigquery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ pipeline:
language: python
fields:
message:
callable: "lambda row: row.payload.decode('utf-8')"
callable: "lambda row: str(row.payload.decode('utf-8'))"

sink:
type: WriteToBigQuery
config:
table: project-id.dataset-id.tabe-id
table: project-id.dataset-id.table-id
create_disposition: CREATE_IF_NEEDED
write_disposition: WRITE_APPEND
windowing:
Expand Down

0 comments on commit 6fccfe6

Please sign in to comment.