-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source Facebook Marketing: SAT fails on schema validation #4827
Comments
I can't reproduce this bug because of the following error: The above error was also occurring in these 3 failed builds: |
I had to change few things in order to run tests and all tests passed, see screenshot. Also I linked a PR with changes I made to tests. So I can't reproduce this issue. Lonk to zira. |
Ok, it seems our config bypass the dates with records, so all problematic streams are empty. To reproduce this use the following config: {
"start_date": "2021-02-01T00:00:00Z",
"account_id": "your_account",
"access_token": "your_token",
"include_deleted": false,
"insights_lookback_window": 14,
"insights_days_per_job": 1,
}
in the end
The tests passed when I set |
@Zirochkaa please check this PR to get the idea |
@keu which config do we have in GitHub secrets for Facebook Marketing source? |
We need to:
|
We decided to use this issue as an experiment to write a generic class for performing transformations of record so it'll require more time than the estimate above. |
Blocked on #5592. |
The problem with schema is that FB wraps numeric values into strings.
The schema says it is
null
ornumeric
but in the record it is"1234"
.Steps to Reproduce
Run SAT on the latest FB connector
UPDATE: use this comment for instructions #4827 (comment)
Possible fix
['null', 'string']
, this is less desirable solution because destination will loose any type info.The text was updated successfully, but these errors were encountered: