Plan plan = new Plan();
TableIdent tableIdent = analysis.tableIdent();
Preconditions.checkArgument(Strings.isNullOrEmpty(tableIdent.schema()),
"a SCHEMA name other than null isn't allowed.");
CreateTableNode createTableNode;
if (analysis.isPartitioned()) {
createTableNode = CreateTableNode.createPartitionedTableNode(
tableIdent.name(),
analysis.tableParameter().settings().getByPrefix("index."),
analysis.mapping(),