davidshtian commented on issue #1449: URL: https://github.com/apache/iceberg-python/issues/1449#issuecomment-2897118420
Hi! Asking for help~ Wonder if SageMaker Lakehouse on RMS supported yet or not? (not S3 Tables) ``` from pyiceberg.catalog import load_catalog REGION = 'us-east-1' CATALOG = '<catalog name>' ACCOUNT_ID = '<account id>' DATABASE_NAME = 'public' TABLE_NAME = '<table name>' rest_catalog = load_catalog( CATALOG, **{ "type": "rest", "warehouse": f"{ACCOUNT_ID}:{CATALOG}/dev", "uri": f"https://glue.{REGION}.amazonaws.com/iceberg", "rest.sigv4-enabled": "true", "rest.signing-name": "glue", "rest.signing-region": REGION } ) table = rest_catalog.load_table( f"{DATABASE_NAME}.{TABLE_NAME}" ) print(f"Table: {table}") scan = table.scan().to_pandas() print(f"Scan: {scan}") ``` I've tried the codes above, the table info shown normally, while scan result not. Good đ ``` Table: tbl( 1: id: optional int, 2: name: optional string ), partition by: [], sort order: [], snapshot: Operation.OVERWRITE: id=0, schema_id=0 ``` Bad âšī¸ and weird... ``` FileNotFoundError: [Errno 2] Failed to open local file '/home/ubuntu/<table name>'. Detail: [errno 2] No such file or directory ``` Thanks~ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org