cloudspannerecosystem/spanner-cli 105
Interactive command line tool for Cloud Spanner
cloudspannerecosystem/spanner-dump 18
Command line tool for exporting a Cloud Spanner database in text format
A zerolog-based logging library for Cloud Run.
yfuruyama/Data-Generator-FromDDL 13
Dummy data generator from DDL statements
cloudspannerecosystem/spanner-truncate 7
spanner-truncate is a tool to delete all rows from the tables in a Cloud Spanner database without deleting tables themselves.
cloudspannerecosystem/scheduled-backups 5
Showing how to use Cloud Scheduler and Cloud Functions to configure a schedule for creating Cloud Spanner backups.
BigQuery Python Library
App Engine traffic migration tool
yfuruyama/cloud-kms-jwt-issuer 3
Sample application for issuing and verifying JWT with Cloud KMS
yfuruyama/AppStoreRankingReport 2
AppStore Ranking Report Tool for Google Spreadsheet
startedyfuruyama/real-world-plantuml
started time in 17 hours
issue commentcloudspannerecosystem/spanner-cli
Yeah, it seems there are only bad precedents.
In BigQuery, STRUCT
(record) values are expanded and FORMAT("%T", ARRAY(SELECT AS STRUCT 1, 2))
prints [(1, 2)]
but it isn't yet be supported in Cloud Spanner.
comment created time in 19 hours
fork laysakura/sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, and MSSQL.
fork in 20 hours
issue openedcloudspannerecosystem/spanner-cli
Currently, spanner-cli formats of STRUCT
values as [...]
.
I think it is ambiguous with format of ARRAY
values.
(We know nested ARRAY
and top-level STRUCT
is forbid so not strictly ambiguous.)
$ spanner-cli -e 'SELECT ARRAY(SELECT AS STRUCT 1, 2)'
[[1, 2]]
$ spanner-cli -e 'SELECT SAMPLE_LOCK_REQUESTS FROM SPANNER_SYS.LOCK_STATS_TOP_HOUR' -t
...
[[tbl._exists, Exclusive], [tbl._exists, Exclusive], [tbl._exists, Exclusive], [tbl._exists, Exclusive]]
...
How about does STRUCT
use (...)
like native notation?
created time in 21 hours
startedcybozu/octoken-action
started time in 2 days
startedlaunchbadge/sqlx
started time in 2 days
issue openedcloudspannerecosystem/spanner-cli
Partitioned DML over 30s always fails by context deadline exceeded
Partitioned DML over 30s always fails by context deadline exceeded.
$ time ./spanner-cli -p ${CLOUDSDK_CORE_PROJECT} -i ${CLOUDSDK_SPANNER_INSTANCE} -d ${DATABASE_ID} --execute='PARTITIONED UPDATE Songs SET Duration = Duration + 1 WHERE TRUE'
ERROR: rpc error: code = DeadlineExceeded desc = context deadline exceeded
./spanner-cli -p ${CLOUDSDK_CORE_PROJECT} -i ${CLOUDSDK_SPANNER_INSTANCE} -d 0.35s user 0.47s system 2% cpu 34.068 total
gcloud databases execute-sql
succeeds.
$ time gcloud spanner databases execute-sql --instance=merpay-sponsored-instance ${DATABASE_ID} --sql='UPDATE Songs SET Duration = Duration + 1 WHERE TRUE' --enable-partitioned-dml
Statement modified a lower bound of 1024000 rows
gcloud spanner databases execute-sql --instance=merpay-sponsored-instance 0.55s user 0.22s system 1% cpu 1:10.73 total
created time in 4 days
startedyfuruyama/real-world-plantuml
started time in 4 days
startedyfuruyama/real-world-plantuml
started time in 4 days
startedyfuruyama/real-world-plantuml
started time in 4 days
startedyfuruyama/real-world-plantuml
started time in 5 days
startedhourglasshoro/graphmize
started time in 5 days
startedyfuruyama/crzerolog
started time in 7 days
startedyfuruyama/real-world-plantuml
started time in 8 days
startedyfuruyama/bqlib
started time in 9 days
startedyfuruyama/real-world-plantuml
started time in 11 days
startedyfuruyama/mqli
started time in 11 days
startedcou929/leetcode
started time in 11 days
startedyfuruyama/mqli
started time in 11 days
fork superbrothers/kubectl-neat
Clean up Kuberntes yaml and json output to make it readable
fork in 12 days
startedambethia/recaptcha
started time in 15 days
startedyfuruyama/real-world-plantuml
started time in 25 days
startedyfuruyama/crzerolog
started time in a month
startedyfuruyama/crzerolog
started time in a month
startedyfuruyama/crzerolog
started time in a month
startedyfuruyama/crzerolog
started time in a month
startedyfuruyama/crzerolog
started time in a month