malopezh opened a new issue, #1165:
URL: https://github.com/apache/iceberg-python/issues/1165

   ### Apache Iceberg version
   
   0.7.1 (latest release)
   
   ### Please describe the bug 🐞
   
   Problem:
   Trying to create table in OCI Object Storage.
   Metadata is successfully created but data is not.
   Expected:
   Iceberg structure created but just metadata is being created.
   StackTrace:
   `Traceback (most recent call last):
     File 
"/home/marcolo/development/reorgParquets/.venv/lib/python3.10/site-packages/pyiceberg/catalog/__init__.py",
 line 418, in create_table_if_not_exists
       return self.create_table(identifier, schema, location, partition_spec, 
sort_order, properties)
     File 
"/home/marcolo/development/reorgParquets/.venv/lib/python3.10/site-packages/pyiceberg/catalog/hive.py",
 line 376, in create_table
       self._create_hive_table(open_client, tbl)
     File 
"/home/marcolo/development/reorgParquets/.venv/lib/python3.10/site-packages/pyiceberg/catalog/hive.py",
 line 325, in _create_hive_table
       open_client.create_table(hive_table)
     File 
"/home/marcolo/development/reorgParquets/.venv/lib/python3.10/site-packages/hive_metastore/ThriftHiveMetastore.py",
 line 3431, in create_table
       self.recv_create_table()
     File 
"/home/marcolo/development/reorgParquets/.venv/lib/python3.10/site-packages/hive_metastore/ThriftHiveMetastore.py",
 line 3457, in recv_create_table
       raise result.o3
   hive_metastore.ttypes.MetaException: 
MetaException(message='java.lang.IllegalArgumentException: bucket is 
null/empty')`
   
    Iceberg Catalog:
    
    `local_catalog = load_catalog(name='s3',
                                uri="thrift://localhost:9083",
                                warehouse= "s3a://my_bucket",
                                catalog_type= "hadoop",
   
                               **{
                                   "s3.endpoint": "https://my-endpoint.com";,
                                   "s3.access-key-id": "myAccess-Key",
                                   "s3.secret-access-key": "mySecret-Key",
                                   "s3.session.token":"myToken",
                                   "bucket_name": "s3a://my_bucket",
                                   "hive.hive2-compatible": "true",
                                   }
                                )`
   
   


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