Note: For simplicity and ease of comparison, this article compares Cloud Spanner with MySQL GCP Cloud SQL and Amazon AWS RDS family of solutions.
: Apache Tephra Apache HBase ( Apache Phoenix -).
"The drivers do not currently support DML or DDL."Spanner Documentation
SELECT COUNT(DISTINCT(field0)) FROM usertable; — (10M distinct values)-> SpoolingHashAggregateIterator ran out of memory during new row.