You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2023/01/04 18:02:18 UTC

[GitHub] [iceberg] matago commented on issue #6523: Table creation fails with Glue catalog on EMR

matago commented on issue #6523:
URL: https://github.com/apache/iceberg/issues/6523#issuecomment-1371249845

   same error when using PySpark over spark sql
   ```python
   schema = StructType([
       StructField("vendor_id", LongType(), True),
       StructField("trip_id", LongType(), True),
       StructField("trip_distance", FloatType(), True),
       StructField("fare_amount", DoubleType(), True),
       StructField("store_and_fwd_flag", StringType(), True)
   ])
   
   df = spark.createDataFrame([], schema)
   
   df.writeTo("glue_catalog.iceberg_lake_demo.taxis").using("iceberg").partitionedBy("vendor_id").create()
   ```


-- 
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-unsubscribe@iceberg.apache.org

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


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