-
|
I am using the standalone rest server 0.8.0. It seems the warehouse is hardcoded somewhere for /tmp, so I cannot insert data conf file I made sure However, when I use SparkSQL to create a database then create a table by following the doc CREATE DATABASE IF NOT EXISTS dml;
DESCRIBE DATABASE EXTENDED dml;
CREATE TABLE dml.test (id bigint COMMENT 'unique id') using iceberg;
DESCRIBE TABLE EXTENDED dml.test;I got /tmp/dml/test in the location I even tried REST call directly for http://127.0.0.1:9001/iceberg/v1/namespaces/dml/tables/test and got {"metadata-location":"/tmp/dml/test/metadata/00000-1c4006d0-807f-45ed-9923-dfc3285796b2.metadata.json","metadata":{"format-version":2,"table-uuid":"897ef33a-6e99-4a36-bb5a-982b8990315d","location":"/tmp/dml/test","last-sequence-number":0,"last-updated-ms":1741536661460,"last-column-id":1,"current-schema-id":0,"schemas":[{"type":"struct","schema-id":0,"fields":[{"id":1,"name":"id","required":false,"type":"long","doc":"unique id"}]}],"default-spec-id":0,"partition-specs":[{"spec-id":0,"fields":[]}],"last-partition-id":999,"default-sort-order-id":0,"sort-orders":[{"order-id":0,"fields":[]}],"properties":{"owner":"jove","write.parquet.compression-codec":"zstd"},"current-snapshot-id":-1,"refs":{},"snapshots":[],"statistics":[],"partition-statistics":[],"snapshot-log":[],"metadata-log":[{"timestamp-ms":1741536531035,"metadata-file":"/tmp/dml/test/metadata/00000-1c4006d0-807f-45ed-9923-dfc3285796b2.metadata.json"}]},"config":{}}So data cannot be added |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
memory catalog are used to do simple testing, suggest to try the docker image with sqllite as the default jdbc catalog backend in https://gravitino.apache.org/docs/0.8.0-incubating/iceberg-rest-service#docker-instructions. |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this, create #6649 to track the hard coded warehouse problem in memory catalog.