Skip to content

Commit 8f1a0b5

Browse files
committed
added rowsaffected to executeStmt
1 parent 1e33a17 commit 8f1a0b5

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

tests/pystackql_tests.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ def setUpModule():
4141
print("downloading aws provider for tests...")
4242
res = PyStackQLTestsBase.stackql.executeStmt(registry_pull_aws_query)
4343
print(res)
44-
print("downloading awscc provider for tests...")
45-
res = PyStackQLTestsBase.stackql.executeStmt(registry_pull_awscc_query)
46-
print(res)
4744
print("downloading google provider for tests...")
4845
res = PyStackQLTestsBase.stackql.executeStmt(registry_pull_google_query)
4946
print(res)

tests/test_params.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def get_custom_download_dir(platform_name):
2727

2828
registry_pull_google_query = "REGISTRY PULL google"
2929
registry_pull_aws_query = "REGISTRY PULL aws"
30-
registry_pull_awscc_query = "REGISTRY PULL awscc"
3130
registry_pull_okta_query = "REGISTRY PULL okta"
3231
registry_pull_github_query = "REGISTRY PULL github"
3332

@@ -44,7 +43,7 @@ def registry_pull_resp_pattern(provider):
4443

4544
aws_query = f"""
4645
SELECT
47-
SPLIT_PART(CreationDate, '-', 1) as year, count(*) as num_buckets FROM aws.s3.buckets
46+
SPLIT_PART(CreationDate, '-', 1) as year, count(*) as num_buckets FROM aws.s3_api.buckets
4847
WHERE region = 'us-east-1'
4948
GROUP BY year
5049
"""
@@ -54,7 +53,7 @@ def registry_pull_resp_pattern(provider):
5453
async_queries = [
5554
f"""
5655
SELECT region, COUNT(*) as num_functions
57-
FROM awscc.lambda.functions
56+
FROM aws.lambda.functions
5857
WHERE region = '{region}'
5958
"""
6059
for region in regions

0 commit comments

Comments
 (0)