Closed nk1506 closed 1 week ago
Does this issue happen even after https://github.com/apache/polaris/pull/216?
@ebyhr ,Surprisingly, I’m still encountering this error with SparkCLI. I’m currently investigating it. I’m not sure how to assign this bug to myself. Could you help?
You need to enable Iceberg's spark extensions to create views: see https://github.com/apache/polaris/blob/main/regtests/t_pyspark/src/iceberg_spark.py#L97 for example configuration
Thanks @collado-mike for the response. I just tried ./regtests/run_spark_sql.sh
and the following script:
create database db1;
show databases;
create table db1.table1 (id int, name string);
insert into db1.table1 values (1, 'a');
select * from db1.table1;
create view db1.v1 as select * from db1.table1;
But it seems working now.
Is this a possible security vulnerability?
Describe the bug
`spark-sql ()> create view db1.v1 as select * from db1.table1;
Catalog polaris does not support views.`