import itertools


def SplitDdlIntoStatements(ddl):
  """Break DDL statements on semicolon to support multiple in one argument."""
  statements = []
  for x in ddl:
    # Disallow empty strings to allow for trailing semi-colons.
    statements.append(s for s in x.split(';') if s)

  return list(itertools.chain.from_iterable(statements))