-
Notifications
You must be signed in to change notification settings - Fork 21
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
Provided Schema does not match Table #75
Comments
bqr_partition doesn't download data, it creates a partitioned table. Do you need bqr_query() ? |
Hey I have my app connected to bigquery and I want to download all events data to R and manipulate the data there. I need to use bqr_query() to download all events_YYYYMMDD table? something like this? or do I need to change the events_ on a daily basis? etc... Thank you so much ! |
Yes, I would try out the queries in the web console first then something like the examples above will work. If its a lot of data you may also want to do it asynchronously via You could also use |
Thank you. Not sure what you meant by the Data API, this account is not an app + web (GA4) Tried searching for it using those functions and its not there ga4 <- ga_account_list("ga4") |
Ah ok, fair enough then. I suggest using standardSQL (e.g. |
Thanks for the great help and feedback
This Works fine, getting the data in BQ in a new table.
The extraction doesnt work for some reason Job had error:Operation cannot be performed on a nested schema. Field: event_params |
The extract is expecting a flat table from your query, I guess your SQL is writing back nested formatted JSON |
Yes, to make flat tables you typically use |
oh ok, Thank you so much for all your help. |
still give me Operation cannot be performed on a nested schema. Field: param Kind of lost here if you guide me I would highly appreciate it |
Hey
I am trying to download app data from bigquery and getting the above error.
Firebase is connected to bq and I have "events_" table there.
I am trying to download the data using this function
bqr_partition("events_2021", "ga_partition", my_project, my_dataset)
But I am getting this error and I dont understand how to solve it
Job had error:
Provided Schema does not match Table xxxx-native-app-33f08:analytics_153017681.ga_partition$20210601. Cannot add fields (field: event_params)
[1] "Provided Schema does not match Table xxxx-native-app-33f08:analytics_153017681.ga_partition$20210601. Cannot add fields (field: event_params)"
Do I need to specify the schema for this function?
I tried narrowing the function even more
bqr_partition("events_202106", "ga_partition", my_project, my_dataset)
Still getting the same error
Thanks
The text was updated successfully, but these errors were encountered: