- is this your first time deploying Airbyte: No
- OS Version / Instance: AWS EC2
- Memory / Disk: 8Gb/30 GB
- Deployment: Docker
- Airbyte Version: 0.38.4-alpha
- Airbyte Source name/version: MySQL(0.6.0)
- Airbyte Destination name/version: BigQuery(1.1.11)
- Source name/version: AWS Aurora MySQL Serverless v2 (Compatible with MySQL 8.0.23)
- Destination name/version: Bigquery
- Step: Setting new connection, source / Replication/ Data Sources
- Description: I created a MySQL source. I want to create a connection from Mysql to BigQuery. Although I set it to fetch the views, too, the Airbyte found schema lacks only one of our required views. I also tried the refresh button but it did not find them at all.
MySQL source configs:
BigQuery destination:
And this is the view that is not displayed in found schema:
Blockquote
create view t_travellers.v_sales_register_summary as
selectt
.id
AStid
,
concat(t2
.first_name
, ’ ',t2
.last_name
) ASfull_name
,
t2
.
t2
.office_id
ASoffice_id
,
a
.country
AScountry
,
e
.division
ASdivision
,
e
.destination
ASdestination
,
e
.trip_code
AStrip_code
,
sr
.id
ASid
,
sr
.cid
AScid
,
sr
.sold_by
ASsold_by
,
sr
.sold_by_id
ASsold_by_id
,
sr
.sold_at
ASsold_at
,
date_format(from_unixtime(sr
.sold_at
), ‘%d %b, %Y’) ASsold_at_formatted
,
sr
.first_call
ASfirst_call
,
if(sr
.first_call
, ‘Yes’, ‘No’) ASfirst_call_formatted
,
sr
.status
ASstatus
,
t
.deposit_complete
ASdeposit_complete
,
t
.status
AStraveller_trip_status
,
if(t
.deposit_complete
, ‘Yes’, ‘No’) ASdeposit_complete_formatted
,
sr
.processed
ASprocessed
,
coalesce(t_travellers
.srpc
.promotions
, 0) ASpromotions
,
sr
._ca
AS_ca
,
coalesce(t_billing
.sta
.amount
, 0) ASsales_transaction_amount
,
t_billing
.sta
.currency
ASsales_transaction_currency
,
i
.deposit_paid_at
ASdeposit_paid_at
,
date_format(from_unixtime(i
.deposit_paid_at
), ‘%d %b, %Y’) ASdeposit_paid_at_formatted
,
(selectt_trips
.significant_dates
.date
fromt_trips
.significant_dates
where ((t_trips
.significant_dates
.tid
=t
.id
) and
(t_trips
.significant_dates
.type
= ‘tentative_departure’))
limit 1) AStentative_departure_date
,
(select date_format(from_unixtime(t_trips
.significant_dates
.date
), ‘%d %b, %Y’)
fromt_trips
.significant_dates
where ((t_trips
.significant_dates
.tid
=t
.id
) and
(t_trips
.significant_dates
.type
= ‘tentative_departure’))
limit 1) AStentative_departure_date_formatted
from ((((((((t_trips
.trips
t
joint_travellers
.sales_register
sr
on ((t
.sales_register_id
=sr
.id
))) joint_travellers
.travellers
t2
on ((sr
.cid
=t2
.id
))) left joint_billing
.v_sales_transaction_amounts
sta
on ((t
.id
=t_billing
.sta
.tid
))) joint_billing
.invoices
i
on (((t
.id
=i
.tid
) and (i
.type
= ‘trip’) and
(i
.deposit_paid_at
is not null)))) left joint_travellers
.addresses
a
on ((t2
.id
=a
.cid
))) left joint_trips
.experiences
e
on ((t
.id
=e
.tid
))) left joint_travellers
.v_sales_register_promotion_counts
srpc
on ((t_travellers
.srpc
.id
=sr
.id
))) left joint_trips
.significant_dates
on ((t_trips
.significant_dates
.tid
=t
.id
)))
group byt
.id
;
It’s strange that only this view is not recognized.
It would be great if you could help us ASAP with this issue.
Thanks a lot