Skip to content

Commit

Permalink
Merge pull request #133 from k1LoW/span
Browse files Browse the repository at this point in the history
Support `span://` for Cloud Spanner scheme
  • Loading branch information
k1LoW authored Aug 14, 2019
2 parents 0134e78 + 5f55651 commit 3f0c4bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasource/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Analyze(urlstr string) (*schema.Schema, error) {
if strings.Index(urlstr, "bq://") == 0 || strings.Index(urlstr, "bigquery://") == 0 {
return AnalizeBigquery(urlstr)
}
if strings.Index(urlstr, "spanner://") == 0 {
if strings.Index(urlstr, "span://") == 0 || strings.Index(urlstr, "spanner://") == 0 {
return AnalizeSpanner(urlstr)
}
s := &schema.Schema{}
Expand Down

0 comments on commit 3f0c4bc

Please sign in to comment.