RunnableCommand Logical Operators¶
run( sparkSession: SparkSession): Seq[Row]
Executes the command for side effects (possibly giving Row back with the result)
metrics: Map[String, SQLMetric]
metrics is empty by default.
metrics is a Scala lazy value to guarantee that the code to initialize it is executed once only (when accessed for the first time) and cached afterwards.
metrics is used when: