RussellSpitzer commented on code in PR #199: URL: https://github.com/apache/polaris/pull/199#discussion_r1733949684
########## regtests/run_spark_sql.sh: ########## @@ -16,11 +16,19 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. + +# ----------------------------------------------------------------------------- +# Purpose: Launch the Spark SQL shell to interact with Polaris. +# ----------------------------------------------------------------------------- # +# Usage: +# Without arguments: Runs against a catalog backed by the local filesystem +# With two arguments: Runs against a catalog backed by AWS S3 +# Example: ./run_spark_sql.sh s3://my-bucket/path arn:aws:iam::123456789001:principal/my-role # -# Run this to open an interactive spark-sql shell talking to a catalog named "manual_spark" -# -# You must run 'use polaris;' as your first query in the spark-sql shell. +# Arguments: +# [S3 location] - The S3 path to use as the default base location for the catalog. +# [AWS IAM role] - The AWS IAM role to assume when the catalog accessing the S3 location. Review Comment: AWS IAM role for the catalog to assume when accessing the S3 Location -- 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]
