ShowCurrentNamespaceExec Physical Command¶
ShowCurrentNamespaceExec
is a physical command that represents ShowCurrentNamespace logical command at execution time.
scala> sql("SHOW CURRENT NAMESPACE").show(truncate = false)
+-------------+---------+
|catalog |namespace|
+-------------+---------+
|spark_catalog|default |
+-------------+---------+
Creating Instance¶
ShowCurrentNamespaceExec
takes the following to be created:
- Output attributes
- CatalogManager
ShowCurrentNamespaceExec
is created when DataSourceV2Strategy execution planning strategy is executed (and plans a ShowCurrentNamespace logical command).
Executing Command¶
run(): Seq[InternalRow]
run
...FIXME
run
is part of the V2CommandExec abstraction.
Last update: 2020-07-25