MonkeyCanCode commented on PR #1491:
URL: https://github.com/apache/polaris/pull/1491#issuecomment-2843983230

   > @adutra seem to be a defective when actually changed client jar from 1.8.1 
to 1.9.0 for spark:
   > 
   > ```
   > ➜  polaris git:(iceberg_1.9.0) ✗ diff 
/tmp/polaris-spark-regtests/spark_sql_3.5_2.12/spark_sql.stdout 
/Users/yong/Desktop/GitHome/polaris/plugins/spark/v3.5/regtests/spark_sql.ref
   > 21a22,24
   > > 111
   > > 123
   > > 234
   > ```
   > 
   > Here is the local output for the above diff:
   > 
   > ```
   > spark-sql (db1.schema1)> insert into iceberg_tb values (123), (234), (111);
   > spark-sql (db1.schema1)> select * from iceberg_tb order by col1;
   > spark-sql (db1.schema1)> 
   > ```
   > 
   > Somehow the select return no row back (while the expected output as well 
as SQL suggested we should have this):
   > 
   > ```
   > spark-sql (db1.schema1)> insert into iceberg_tb values (123), (234), (111);
   > spark-sql (db1.schema1)> select * from iceberg_tb order by col1;
   > 111
   > 123
   > 234
   > ```
   > 
   > I can take a closer look tomorrow and do a local testing for this.
   
   @adutra / @gh-yzou  so this is due to the custom client jar only works with 
1.8.1 and not 1.9.0. The above is failing as I tried to update iceberg 
dependency to match to what Alex checked in couple days back. I got confused 
for a bit until I saw "org.apache.polaris.spark.SparkCatalog" in the config. 
Seems like some code change will be need before we can bump the version here.


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