World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#14875] docs(lakehouse-generic): Document Delta table location inheritance (#14876)
Jerry Shao7a08c3547539
diff --git a/docs/lakehouse-generic-delta-table.md b/docs/lakehouse-generic-delta-table.mdindex b3000209bc..e7dc058e3c 100644--- a/docs/lakehouse-generic-delta-table.md+++ b/docs/lakehouse-generic-delta-table.md@@ -81,10 +81,18 @@ Required and optional properties for Delta tables in a Generic Lakehouse Catalog| Property | Description | Default | Required ||------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------|| `format` | Table format: must be `delta` | (none) | Yes |-| `location` | Storage path for the Delta table. Must point to a directory containing Delta Lake metadata (_delta_log). Supports file://, s3://, hdfs://, abfs://, gs://, and other Hadoop-compatible file systems. | (none) | Yes |+| `location` | Storage path for the Delta table. Must point to a directory containing Delta Lake metadata (_delta_log). Supports file://, s3://, hdfs://, abfs://, gs://, and other Hadoop-compatible file systems. | (none) | No || `external` | Must be `true` for Delta tables. Indicates that Gravitino manages metadata only <br/>and will not delete physical data when the table is dropped. | (none) | Yes |-**Location Requirement:** Must be specified at table level for external Delta table. See [Location Resolution](./lakehouse-generic-catalog.md#key-property-location).+**Location Requirement:** If the table `location` is omitted, Gravitino resolves it from the schema+or catalog `location`, following the [Location Resolution Hierarchy](./lakehouse-generic-catalog.md#key-property-location).+Table creation fails only if no level provides a location. An inherited path such as+`{catalog_location}/{schema_name}/{table_name}/` usually does not contain an existing `_delta_log`,+and Gravitino does not check that it does. Set `location` explicitly to the directory of the+existing Delta table.++The stored `location` may end with a trailing `/`. For example, `s3://my-bucket/delta-tables/customer_orders`+is stored as `s3://my-bucket/delta-tables/customer_orders/`.### Table Operations@@ -347,11 +355,18 @@ Partition information in Gravitino is **metadata only**:Solution: Ensure you set "external": "true" in the table properties```-**Issue: "Property 'location' is required for external Delta tables"**+**Issue: "'location' property is neither set in table properties nor in schema properties, and no location is set in catalog properties either"**```Solution: Specify the location property pointing to your Delta table directory```+**Issue: The registered table location does not contain Delta data**+```+Solution: The location was inherited from the schema or catalog because the table+location was omitted. Drop the table and register it again with the location+property pointing to your Delta table directory+```+**Issue: "ALTER TABLE operations are not supported"**```Solution: Use Delta Lake APIs (Spark, Delta-rs, etc.) to modify the table,