lakehero_data_export

Arguments

ArgumentTypeRequiredDefaultDescription
dateStringNo

Date in YYYY-MM-DD format

run_hour_utcIntNo

UTC hour used to select the closest LakeHero export run

analyzeBooleanNo

If true, the query will only be analyzed (cost estimated) without executing it.

Return Type

LakeheroDataExportQueryResult

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 {
      ...LakeheroDataExportFragment
    }
  }
}

Variables

{
  "date": "abc123",
  "run_hour_utc": 987,
  "analyze": true
}

Response

{
  "data": {
    "lakehero_data_export": {
      "request_id": "abc123",
      "complexity": 987,
      "data": LakeheroDataExport
    }
  }
}