Skip to content

Commit 81bd409

Browse files
author
Bingqin Zhou
authored
[CASSANDRA-16814] Fix cassandra to gcs type inconsistency. (#17183)
1 parent 5be1286 commit 81bd409

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

airflow/providers/google/cloud/transfers/cassandra_to_gcs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ def __init__(
136136

137137
# Default Cassandra to BigQuery type mapping
138138
CQL_TYPE_MAP = {
139-
'BytesType': 'BYTES',
139+
'BytesType': 'STRING',
140140
'DecimalType': 'FLOAT',
141-
'UUIDType': 'BYTES',
141+
'UUIDType': 'STRING',
142142
'BooleanType': 'BOOL',
143143
'ByteType': 'INTEGER',
144144
'AsciiType': 'STRING',
@@ -152,7 +152,7 @@ def __init__(
152152
'DateType': 'TIMESTAMP',
153153
'SimpleDateType': 'DATE',
154154
'TimestampType': 'TIMESTAMP',
155-
'TimeUUIDType': 'BYTES',
155+
'TimeUUIDType': 'STRING',
156156
'ShortType': 'INTEGER',
157157
'TimeType': 'TIME',
158158
'DurationType': 'INTEGER',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy