Content-Length: 279737 | pFad | https://github.com/apache/airflow/commit/81bd40933ea85a0d7807cf7f9a841157ec885cdf

BA [CASSANDRA-16814] Fix cassandra to gcs type inconsistency. (#17183) · apache/airflow@81bd409 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/apache/airflow/commit/81bd40933ea85a0d7807cf7f9a841157ec885cdf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy