dimas-b commented on PR #1491:
URL: https://github.com/apache/polaris/pull/1491#issuecomment-2846039228
Spark 3.5 + Iceberg 1.9.0 worked fine for me when started locally:
```
bin/spark-sql \
--packages org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.9.0 \
--conf
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
\
--conf
spark.sql.catalog.polaris=org.apache.iceberg.spark.SparkCatalog \
--conf spark.sql.catalog.polaris.type=rest \
--conf
spark.sql.catalog.polaris.uri=http://localhost:8181/api/catalog \
--conf spark.sql.catalog.polaris.token-refresh-enabled=false \
--conf spark.sql.catalog.polaris.warehouse=polaris \
--conf spark.sql.catalog.polaris.scope=PRINCIPAL_ROLE:ALL \
--conf spark.sql.catalog.polaris.credential=***
```
```
spark-sql (ns)> create table t1 as select 'abc';
Time taken: 2.563 seconds
spark-sql (ns)> select * from t1;
abc
Time taken: 0.81 seconds, Fetched 1 row(s)
spark-sql (ns)> insert into t1 values ('a'), ('b');
Time taken: 0.34 seconds
spark-sql (ns)> select * from t1;
abc
a
b
Time taken: 0.178 seconds, Fetched 3 row(s)
```
--
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]