Skip to content

Commit

Permalink
[CASSANDRA-16814] Fix cassandra to gcs type inconsistency. (#17183)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bingqin Zhou committed Jul 23, 2021
1 parent 5be1286 commit 81bd409
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/providers/google/cloud/transfers/cassandra_to_gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ def __init__(

# Default Cassandra to BigQuery type mapping
CQL_TYPE_MAP = {
'BytesType': 'BYTES',
'BytesType': 'STRING',
'DecimalType': 'FLOAT',
'UUIDType': 'BYTES',
'UUIDType': 'STRING',
'BooleanType': 'BOOL',
'ByteType': 'INTEGER',
'AsciiType': 'STRING',
Expand All @@ -152,7 +152,7 @@ def __init__(
'DateType': 'TIMESTAMP',
'SimpleDateType': 'DATE',
'TimestampType': 'TIMESTAMP',
'TimeUUIDType': 'BYTES',
'TimeUUIDType': 'STRING',
'ShortType': 'INTEGER',
'TimeType': 'TIME',
'DurationType': 'INTEGER',
Expand Down

0 comments on commit 81bd409

Please sign in to comment.