Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@
"select kind, name from google.compute.acceleratorTypes where project = 'lab-kr-network-01' and zone = 'australia-southeast1-a' order by name desc;"
],
},
//
{
"name": "DEBUG select github.repos.repos ... ;",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/stackql",
"args": [
"exec",
"--registry={ \"useEmbedded\": false, \"url\": \"file://${workspaceFolder}/test/registry\", \"localDocRoot\": \"${workspaceFolder}/test/registry\", \"verifyConfig\": { \"nopVerify\": true } }",
"--auth={ \"google\": { \"credentialsfilepath\": \"${workspaceFolder}/keys/sa-key.json\" }, \"okta\": { \"credentialsfilepath\": \"${workspaceFolder}/keys/okta-token.txt\", \"type\": \"api_key\" }, \"github\": { \"type\": \"null_auth\" } }",
"select name, ssh_url from github.repos.repos where org = 'stackql' ;"
],
},
// show extended resources from okta.group
{
"name": "DEBUG show resources from okta.group ... ;",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ require (
github.com/spf13/cobra v1.4.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.10.1
github.com/stackql/go-openapistackql v0.0.6-alpha14
github.com/stackql/go-openapistackql v0.0.6-beta04
github.com/stackql/go-sqlite3 v0.0.1-stackqlrc01
github.com/stackql/go-suffix-map v0.0.1-alpha01
go.uber.org/zap v1.21.0
Expand Down
10 changes: 10 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,16 @@ github.com/stackql/go-openapistackql v0.0.6-alpha11 h1:U4umEM1cO+IeA+zDg5ZiDhAba
github.com/stackql/go-openapistackql v0.0.6-alpha11/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-alpha12 h1:HE7bNA4Cv+uF6iHdNLQKlW8+MQZFzNPHsO/XxOb5apE=
github.com/stackql/go-openapistackql v0.0.6-alpha12/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-alpha14 h1:SmuuLEDDT/rJoOLUOstnZuo9xo2BPAqC31B9kv/ZOmE=
github.com/stackql/go-openapistackql v0.0.6-alpha14/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-beta01 h1:LPhMmr2EXDK5Sq24qGUYxgrMQ4AqZ/sh3WRAwE2TUOg=
github.com/stackql/go-openapistackql v0.0.6-beta01/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-beta02 h1:bAtd+Vpy2q6OOUJMEX4afYCDs56ZkFsdZtACP/JBWo8=
github.com/stackql/go-openapistackql v0.0.6-beta02/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-beta03 h1:ICkjzvCVjeG4imKpnUS7J2h2b68pUOs1yKasDsJjtmo=
github.com/stackql/go-openapistackql v0.0.6-beta03/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-openapistackql v0.0.6-beta04 h1:obm7T/aeTQ+L4Ur4E8SlSSp1IqrkDTH0qCpedBS59ZY=
github.com/stackql/go-openapistackql v0.0.6-beta04/go.mod h1:/23TrApFtkASWok1HxXyfUGe/FBUar17JABiadn5ZX4=
github.com/stackql/go-spew v1.1.3-alpha24 h1:yNmgWU+OKU8SvlQ0umiQWWgWS6C5U1GuRMlYfQgbmJA=
github.com/stackql/go-spew v1.1.3-alpha24/go.mod h1:o2MPqg2ee1PN4SxAh9zQSJJmKKFJjpro9pejdK7dXWk=
github.com/stackql/go-sqlite3 v0.0.1-stackqlalpha h1:Ze9rqvLF76IuI42KqffAmBBQcIgInQrGJQkmTcoVRTI=
Expand Down
2 changes: 1 addition & 1 deletion internal/stackql/taxonomy/taxonomy.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ type TblMap map[sqlparser.SQLNode]ExtendedTableMetadata
func (tm TblMap) GetTable(node sqlparser.SQLNode) (ExtendedTableMetadata, error) {
tbl, ok := tm[node]
if !ok {
return ExtendedTableMetadata{}, fmt.Errorf("could not locate table openapistackql for AST node: %v", node)
return ExtendedTableMetadata{}, fmt.Errorf("could not locate table for AST node: %v", node)
}
return tbl, nil
}
Expand Down