MOBY
06/24/2026, 2:35 PMdataset_name.*
but this time we need to something like dataset_group.dataset_name.* and we are getting all kinds of trouble.
sling run \
--src-conn <company>-bigquery-prod \
--src-stream "<dataset_group>.events_${CURRENT_DATE}" \
--tgt-conn <project>-bigquery-prod \
--tgt-object "<app>_analytics_${CURRENT_YEAR}.sftp_logs_${CURRENT_DATE}" \
--mode full-refresh
<company>-bigquery-prod:
type: bigquery
project: <project>
location: EU
gc_bucket: <company>-sling-temp-bucket
key_body: 'redacted'
and this gives us
fatal:
~ Could not unload.
~ Error in Export Task
{Location: ""; Message: "Operation cannot be performed on a nested schema. Field: event_params"; Reason: "invalid"}flarco
06/25/2026, 6:47 PMbash
sling run \
--src-conn <company>-bigquery-prod \
--src-stream "<dataset_group>.events_${CURRENT_DATE}" \
--tgt-conn <project>-bigquery-prod \
--tgt-object "<app>_analytics_${CURRENT_YEAR}.sftp_logs_${CURRENT_DATE}" \
--mode full-refresh \
--src-options '{"format": "parquet"}'
or in in env.yaml:
yaml
<company>-bigquery-prod:
type: bigquery
project: <project>
location: EU
gc_bucket: <company>-sling-temp-bucket
format: parquet # <-- export via Parquet so nested columns survive the unload
key_body: 'redacted'MOBY
06/25/2026, 9:02 PMparaquet to src and tgt options and now getting
fatal:
~ Error in Import task from GCS
{Location: ""; Message: "Unsupported field type: JSON"; Reason: "invalid"}
~ Error importing to BigQuery
~ Error in Import task from GCS
{Location: ""; Message: "Unsupported field type: JSON"; Reason: "invalid"}flarco
06/26/2026, 1:41 PM