diff --git a/dqops/src/main/frontend/src/components/Connection/TableView/TableDetails.tsx b/dqops/src/main/frontend/src/components/Connection/TableView/TableDetails.tsx index 75cfabf220..c1e1a3a9cc 100644 --- a/dqops/src/main/frontend/src/components/Connection/TableView/TableDetails.tsx +++ b/dqops/src/main/frontend/src/components/Connection/TableView/TableDetails.tsx @@ -32,7 +32,6 @@ enum fileFormat { csv = 'csv_file_format', json = 'json_file_format', parquet = 'parquet_file_format', - file_path_list = 'file_path_list', file_path = 'file_path' } @@ -117,7 +116,6 @@ const TableDetails = () => { file_format: { [fileFormatType as keyof FileFormatSpec]: configuration, - file_path_list: paths.filter((x) => x.length !== 0), file_paths: paths.filter((x) => x.length !== 0) } ?? undefined } diff --git a/dqops/src/main/frontend/src/components/CustomTree/AddTableDialog.tsx b/dqops/src/main/frontend/src/components/CustomTree/AddTableDialog.tsx index 0d83c6fdfb..a67e37933e 100644 --- a/dqops/src/main/frontend/src/components/CustomTree/AddTableDialog.tsx +++ b/dqops/src/main/frontend/src/components/CustomTree/AddTableDialog.tsx @@ -31,7 +31,6 @@ enum fileFormat { csv = 'csv_file_format', json = 'json_file_format', parquet = 'parquet_file_format', - file_path_list = 'file_path_list', file_path = 'file_path' } @@ -68,7 +67,7 @@ const AddTableDialog = ({ open, onClose, node }: AddTableDialogProps) => { const args = node ? node.id.toString().split('.') : []; - //todo: pass file_paths or file_path_list to createTable method, based on provider type + //todo: pass file_paths to createTable method, based on provider type const handleSubmit = async () => { try { setLoading(true); @@ -77,7 +76,6 @@ const AddTableDialog = ({ open, onClose, node }: AddTableDialogProps) => { file_format: { [fileFormatType as keyof FileFormatSpec]: configuration, - file_path_list: paths.filter((x) => x.length !== 0), file_paths: paths.filter((x) => x.length !== 0) } ?? undefined }).then(() => @@ -93,7 +91,6 @@ const AddTableDialog = ({ open, onClose, node }: AddTableDialogProps) => { file_format: { [fileFormatType as keyof FileFormatSpec]: configuration, - file_path_list: paths.filter((x) => x.length !== 0), file_paths: paths.filter((x) => x.length !== 0) } ?? undefined }).then(() => diff --git a/dqops/src/main/frontend/src/components/FileFormatConfiguration/FileFormatConfiguration.tsx b/dqops/src/main/frontend/src/components/FileFormatConfiguration/FileFormatConfiguration.tsx index 7adb48b9e5..a7286eac2b 100644 --- a/dqops/src/main/frontend/src/components/FileFormatConfiguration/FileFormatConfiguration.tsx +++ b/dqops/src/main/frontend/src/components/FileFormatConfiguration/FileFormatConfiguration.tsx @@ -21,7 +21,6 @@ enum fileFormat { csv = 'csv_file_format', json = 'json_file_format', parquet = 'parquet_file_format', - file_path_list = 'file_path_list', file_path = 'file_path' } @@ -60,9 +59,6 @@ export default function FileFormatConfiguration({ case fileFormat.file_path: { return <>; } - case fileFormat.file_path_list: { - return <>; - } } }; diff --git a/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.json b/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.json index ac3cb8f9f0..b238a7d373 100644 --- a/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.json +++ b/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.json @@ -31391,15 +31391,9 @@ "description" : "Parquet file format specification.", "$ref" : "#/definitions/ParquetFileFormatSpec" }, - "file_path_list" : { - "type" : "array", - "description" : "The list of paths to files with data that are used as a source.", - "items" : { - "type" : "string" - } - }, "file_paths" : { "type" : "array", + "description" : "The list of paths to files with data that are used as a source.", "items" : { "type" : "string" } diff --git a/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.yaml b/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.yaml index 4bde8d311a..1063b3fe7a 100644 --- a/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.yaml +++ b/dqops/src/main/resources/static/swagger-api/dqops-api-swagger-2.yaml @@ -30132,13 +30132,9 @@ definitions: parquet_file_format: description: "Parquet file format specification." $ref: "#/definitions/ParquetFileFormatSpec" - file_path_list: - type: "array" - description: "The list of paths to files with data that are used as a source." - items: - type: "string" file_paths: type: "array" + description: "The list of paths to files with data that are used as a source." items: type: "string" HierarchyIdModel: