Skip to content

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:

ShowCurrentNamespaceExec is created when DataSourceV2Strategy execution planning strategy is executed (and plans a ShowCurrentNamespace logical command).

Back to top