ajantha-bhat commented on PR #11283:
URL: https://github.com/apache/iceberg/pull/11283#issuecomment-2468153259

   @Fokko: Thanks for the review. When I exclude some configs from 
hadoop-common (like hadoop auth), it failed at runtime. 
   
   I fixed and double checked now.  Everything works fine. 
   I also enabled logging framework by default for this runtime jar now (it 
will be helpful for the user). 
   
   Steps to verify.
   
   ```
   1. java -jar 
open-api/build/libs/iceberg-open-api-test-fixtures-runtime-1.8.0-SNAPSHOT.jar
   
   2. /Users/ajantha/Downloads/spark-3.5.0-bin-hadoop3/bin/spark-sql \
   --packages org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.7.0 \
   --conf 
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions
 \
   --conf spark.sql.catalog.tck=org.apache.iceberg.spark.SparkCatalog \
   --conf spark.sql.defaultCatalog=tck \
   --conf spark.sql.catalog.tck.uri=http://localhost:8181 \
   --conf spark.sql.catalog.tck.type=rest \
   --conf spark.sql.catalog.tck.warehouse=/Users/ajantha/Downloads/temp/wh
   
   3. CREATE TABLE tck.nyc.taxis
   (
     vendor_id bigint,
     trip_id bigint,
     trip_distance float,
     fare_amount double,
     store_and_fwd_flag string
   )
   PARTITIONED BY (vendor_id);
   
   
   INSERT INTO tck.nyc.taxis
   VALUES (1, 1000371, 1.8, 15.32, 'N'), (2, 1000372, 2.5, 22.15, 'N'), (2, 
1000373, 0.9, 9.01, 'N'), (1, 1000374, 8.4, 42.13, 'Y');
   
   SELECT * FROM demo.nyc.taxis;
   ```


-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to