flyrain commented on issue #110:
URL: https://github.com/apache/polaris/issues/110#issuecomment-2359345188

   Other than the docker option, `./regtest/run_spark_sql.sh` is even a faster 
option to connect to Polaris with Spark. Here is the usage:
   ```
   # Usage:
   #   ./run_spark_sql.sh [S3-location AWS-IAM-role]
   #
   # Description:
   #   - Without arguments: Runs against a catalog backed by the local 
filesystem.
   #   - With two arguments: Runs against a catalog backed by AWS S3.
   #       - [S3-location]  - The S3 path to use as the default base location 
for the catalog.
   #       - [AWS-IAM-role] - The AWS IAM role for catalog to assume when 
accessing the S3 location.
   #
   # Examples:
   #   - Run against local filesystem:
   #     ./run_spark_sql.sh
   #
   #   - Run against AWS S3:
   #     ./run_spark_sql.sh s3://my-bucket/path 
arn:aws:iam::123456789001:role/my-role
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to