DescribeDeltaDetailCommand (And DescribeDeltaDetailCommandBase)¶
DescribeDeltaDetailCommand
represents DESCRIBE DETAIL
SQL command at execution (and is <DeltaSqlAstBuilder
is requested to <
Like [[demo]] .DESCRIBE DETAIL SQL Command's Demo [[implementations]] [[DescribeDeltaDetailCommandBase]] == [[creating-instance]] Creating DescribeDeltaDetailCommand Instance == [[run]] Running Command -- NOTE: DESCRIBE DETAIL
SQL command, DescribeDeltaDetailCommand
accepts either a <> (e.g.
'/tmp/delta/t1'
or ++delta.
/tmp/delta/t1++
) (DESC | DESCRIBE) DETAIL (path | table)
val q = sql("DESCRIBE DETAIL '/tmp/delta/users'")
scala> q.show
+------+--------------------+----+-----------+--------------------+--------------------+-------------------+----------------+--------+-----------+----------+----------------+----------------+
|format| id|name|description| location| createdAt| lastModified|partitionColumns|numFiles|sizeInBytes|properties|minReaderVersion|minWriterVersion|
+------+--------------------+----+-----------+--------------------+--------------------+-------------------+----------------+--------+-----------+----------+----------------+----------------+
| delta|3799b291-dbfa-4f8...|null| null|file:/tmp/delta/u...|2020-01-06 17:08:...|2020-01-06 17:12:28| [city, country]| 4| 2581| []| 1| 2|
+------+--------------------+----+-----------+--------------------+--------------------+-------------------+----------------+--------+-----------+----------+----------------+----------------+
DescribeDeltaDetailCommand
is the default and only known <DescribeDeltaDetailCommandBase
is a RunnableCommand
(Spark SQL) for <DescribeDeltaDetailCommand
takes the following to be created:
t1
or ++delta.
/tmp/delta/t1++
)run
Method[source, scala]¶
run(sparkSession: SparkSession): Seq[Row]¶
run
is part of the RunnableCommand
contract to...FIXME.run
...FIXME