This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new dada24df17 Python: Fix passing in Glue credentials (#8209)
dada24df17 is described below
commit dada24df179caf744b1f35abb629b33f8bb4c75a
Author: bmaisonn <[email protected]>
AuthorDate: Wed Aug 2 17:44:11 2023 +0200
Python: Fix passing in Glue credentials (#8209)
Co-authored-by: bmaisonneuve <[email protected]>
---
python/pyiceberg/catalog/glue.py | 2 +-
python/tests/catalog/test_glue.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/pyiceberg/catalog/glue.py b/python/pyiceberg/catalog/glue.py
index 13ee7f81d6..979bfc262e 100644
--- a/python/pyiceberg/catalog/glue.py
+++ b/python/pyiceberg/catalog/glue.py
@@ -56,7 +56,7 @@ from pyiceberg.table.metadata import new_table_metadata
from pyiceberg.table.sorting import UNSORTED_SORT_ORDER, SortOrder
from pyiceberg.typedef import EMPTY_DICT
-BOTO_SESSION_CONFIG_KEYS = ["aws_secret_key_id", "aws_secret_access_key",
"aws_session_token", "region_name", "profile_name"]
+BOTO_SESSION_CONFIG_KEYS = ["aws_access_key_id", "aws_secret_access_key",
"aws_session_token", "region_name", "profile_name"]
GLUE_CLIENT = "glue"
diff --git a/python/tests/catalog/test_glue.py
b/python/tests/catalog/test_glue.py
index d217416697..2bb90e41a5 100644
--- a/python/tests/catalog/test_glue.py
+++ b/python/tests/catalog/test_glue.py
@@ -442,7 +442,7 @@ def test_update_namespace_properties_overlap_update_removal(
@mock_glue
def test_passing_profile_name() -> None:
session_properties = {
- "aws_secret_key_id": "abc",
+ "aws_access_key_id": "abc",
"aws_secret_access_key": "def",
"aws_session_token": "ghi",
"region_name": "eu-central-1",