Mark Einhorn
02/15/2024, 10:01 AMspark.SparkJDBCDataset entries in the catalog. This is the error we are getting:
DatasetError: Failed while loading data from data set SparkJDBCDataset(load_args={'properties': {'driver': com.simba.athena.jdbc.Driver}}, save_args={'properties': {'driver': com.simba.athena.jdbc.Driver}}, table=ticket_master.vw_fact_trans_data, url=jdbc:<awsathena://AwsRegion>=XXX;S3OutputLocation=<s3://XXX/;profile=default;>).
An error occurred while calling o831.jdbc.
: java.sql.SQLException: [JDBC Driver]profile file cannot be nulldatajoely
02/15/2024, 10:12 AMAthena but is the a profile called “default” in the config? You’re specifiying it in the URL:
jdbc:<awsathena://AwsRegion>=XXX;S3OutputLocation=<s3://XXX/;profile=default>;Mark Einhorn
02/15/2024, 10:44 AMdefault AWS creds, but we don’t pass those to DB, hence, it’s looking for a profile that’s not there. And if we drop profile from the catalog entry, it complains that profile can’t be nulldatajoely
02/15/2024, 11:17 AM