← All types
AI & MLOb Object

DataScriptPreview

Preview of data returned by a Lua data query script

Fields

Column information from the stage-transformed data source

sampleRows

[[String!]!]!Non-null

Sampled emitted rows as string arrays, up to sampleLimit; NULL cells are empty strings, not numeric zero

totalRows

Int!Non-null

Number of emitted rows sampled, capped by sampleLimit; not the total number in the full training source

Stage type-check diagnostics (unknown fields, bad returns)

error

StringNullable

Error message if script execution failed

Referenced by (2)
Exact type SDL
"""Preview of data returned by a Lua data query script"""
type DataScriptPreview {
  """Column information from the stage-transformed data source"""
  columns: [DataColumnInfo!]!
  """
  Sampled emitted rows as string arrays, up to sampleLimit; NULL cells are empty strings, not numeric zero
  """
  sampleRows: [[String!]!]!
  """
  Number of emitted rows sampled, capped by sampleLimit; not the total number in the full training source
  """
  totalRows: Int!
  """Stage type-check diagnostics (unknown fields, bad returns)"""
  diagnostics: [PipelineDiagnostic!]!
  """Error message if script execution failed"""
  error: String
}