title: Does Cloud Spanner support a TRUNCATE TABLE command?
body: <p>I want to clear all the values from a table. It has a few secondary indexes. I tried to do this via committing a transaction with <code>Mutation.delete("MyTable", KeySet.all())</code> (see docs <a href="https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases.sessions/commit#Delete" rel="nofollow noreferrer">here</a>). But I got an error: </p>
  
  <blockquote>
    <blockquote>
      <p>error:INVALID_ARGUMENT: io.grpc.StatusRuntimeException: INVALID_ARGUMENT: The transaction contains too many mutations. </p>
    </blockquote>
  </blockquote>
  
  <p>How can I efficiently clear my table contents?</p>