Skip to content

SetNamespaceCommand Leaf Logical Command

SetNamespaceCommand is a leaf logical runnable command that represents the following SQL statement:

USE [NAMESPACE | DATABASE | SCHEMA] identifier

Creating Instance

SetNamespaceCommand takes the following to be created:

  • Multi-part namespace

SetNamespaceCommand is created when:

  • SparkSqlAstBuilder is requested to parse USE NAMESPACE SQL statement