Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Oct 17, 2023
1 parent cf6a315 commit ddd4659
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion notebooks/azure/azure.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down
5 changes: 1 addition & 4 deletions notebooks/github/github.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append('/jupyter/ext')\n",
"import stackql\n",
"%load_ext stackql"
"%load_ext pystackql"
]
},
{
Expand Down
8 changes: 4 additions & 4 deletions notebooks/google/google.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down Expand Up @@ -65,7 +65,7 @@
"outputs": [],
"source": [
"%%stackql\n",
"SELECT name, SUBSTR(machineType,103) as machineType\n",
"SELECT name, SPLIT_PART(machineType, '/', -1) as machine_type\n",
"FROM google.compute.instances \n",
"WHERE project = '$project' AND zone = '$zone'"
]
Expand All @@ -91,10 +91,10 @@
"outputs": [],
"source": [
"%%stackql\n",
"SELECT SUBSTR(machineType,103) as machineType, count(*) as num_instances \n",
"SELECT SPLIT_PART(machineType, '/', -1) as machine_type, count(*) as num_instances \n",
"FROM google.compute.instances \n",
"WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a'\n",
"GROUP BY SUBSTR(machineType,103)"
"GROUP BY machine_type"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/k8s/k8s.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/netlify/netlify.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/okta/okta.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/stackql.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion notebooks/sumologic/sumologic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%load_ext ext.stackql"
"%load_ext pystackql"
]
},
{
Expand Down

0 comments on commit ddd4659

Please sign in to comment.