You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by "nk1506 (via GitHub)" <gi...@apache.org> on 2024/08/28 13:26:20 UTC

[I] [BUG] Create View command is failing with Spark console [polaris]

nk1506 opened a new issue, #225:
URL: https://github.com/apache/polaris/issues/225

   ### Is this a possible security vulnerability?
   
   - [X] This is NOT a possible security vulnerability
   
   ### Describe the bug
   
   `spark-sql ()> create view db1.v1 as select * from db1.table1;
   
   Catalog polaris does not support views.`
   
   ### To Reproduce
   
   _No response_
   
   ### Actual Behavior
   
   _No response_
   
   ### Expected Behavior
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
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: commits-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] Create View command is failing with Spark console [polaris]

Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 commented on issue #225:
URL: https://github.com/apache/polaris/issues/225#issuecomment-2316705366

   @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? 


-- 
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: commits-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] Create View command is failing with Spark console [polaris]

Posted by "collado-mike (via GitHub)" <gi...@apache.org>.
collado-mike commented on issue #225:
URL: https://github.com/apache/polaris/issues/225#issuecomment-2327043824

   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


-- 
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: commits-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] Create View command is failing with Spark console [polaris]

Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 commented on issue #225:
URL: https://github.com/apache/polaris/issues/225#issuecomment-2331243599

   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. 


-- 
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: commits-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] Create View command is failing with Spark console [polaris]

Posted by "nk1506 (via GitHub)" <gi...@apache.org>.
nk1506 closed issue #225: [BUG] Create View command is failing with Spark console
URL: https://github.com/apache/polaris/issues/225


-- 
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: commits-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BUG] Create View command is failing with Spark console [polaris]

Posted by "ebyhr (via GitHub)" <gi...@apache.org>.
ebyhr commented on issue #225:
URL: https://github.com/apache/polaris/issues/225#issuecomment-2316414598

   Does this issue happen even after https://github.com/apache/polaris/pull/216? 


-- 
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: commits-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org