Fix #19160: Add Depth Support Part-1 (#19275)

(cherry picked from commit e32ad88c813c0077c26f90ca24b34ebc0f62f9f2)
This commit is contained in:
Mayur Singal 2025-01-08 11:18:05 +05:30 committed by OpenMetadata Release Bot
parent d387bf263b
commit 9a63d776b5
2 changed files with 12 additions and 4 deletions

View File

@ -31,6 +31,12 @@
}, },
"default": null "default": null
}, },
"depth":{
"title": "Depth",
"description": "Depth of the data path in the container",
"type": "integer",
"default": 0
},
"separator": { "separator": {
"title": "Separator", "title": "Separator",
"description": "For delimited files such as CSV, what is the separator being used?", "description": "For delimited files such as CSV, what is the separator being used?",

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2024 Collate. * Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
* You may obtain a copy of the License at * You may obtain a copy of the License at
@ -10,9 +10,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
/**
/**
* Definition of the properties contained by an object store container template config file * Definition of the properties contained by an object store container template config file
*/ */
export interface ContainerMetadataConfig { export interface ContainerMetadataConfig {
@ -31,6 +29,10 @@ export interface MetadataEntry {
* The path where the data resides in the container, excluding the bucket name * The path where the data resides in the container, excluding the bucket name
*/ */
dataPath: string; dataPath: string;
/**
* Depth of the data path in the container
*/
depth?: number;
/** /**
* Flag indicating whether the container's data is partitioned * Flag indicating whether the container's data is partitioned
*/ */