lakehero_data_export
Arguments
| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
date | String | No | Date in YYYY-MM-DD format | |
run_hour_utc | Int | No | UTC hour used to select the closest LakeHero export run | |
analyze | Boolean | No | If true, the query will only be analyzed (cost estimated) without executing it. |
Return Type
Query
query lakehero_data_export(
$date: String,
$run_hour_utc: Int,
$analyze: Boolean
) {
lakehero_data_export(
date: $date,
run_hour_utc: $run_hour_utc,
analyze: $analyze
) {
request_id
complexity
data {
files {
table_name
signed_url
created_at
size
export_type
run_timestamp
}
expires_at
}
}
}Variables
{
"date": "abc123",
"run_hour_utc": 987,
"analyze": true
}Response
{
"data": {
"lakehero_data_export": {
"request_id": "abc123",
"complexity": 987,
"data": LakeheroDataExport
}
}
}