Skip to content

gcpug/spshovel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spshovel

Spanner Power shovel is a tool to output Spanner's Query result as CSV. It helps to output huge Query results from Spanner.

Output Query Results as CSV

go run example

go run *.go -project=gcpug-public-spanner \
  -instance=merpay-sponsored-instance \
  -database=sinmetal \
  -sql-file-path=/Users/sinmetal/go/src/github.com/gcpug/spshovel/example.sql

Do not output headers to CSV

go run *.go -project=gcpug-public-spanner \
  -instance=merpay-sponsored-instance \
  -database=sinmetal \
  -sql-file-path=/Users/sinmetal/go/src/github.com/gcpug/spshovel/example.sql\
  --no-header=true

About

Output spanner's query result as CSV

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages