tanishqgandhi1908 commented on code in PR #6502:
URL: https://github.com/apache/texera/pull/6502#discussion_r3626308263
##########
common/workflow-core/src/main/scala/org/apache/texera/amber/core/storage/FileResolver.scala:
##########
@@ -75,9 +75,18 @@ object FileResolver {
filePath.toUri
}
+ private val RESOURCE_TYPE_PREFIXES = Set("datasets")
+
/**
* Parses a dataset file path and extracts its components.
- * Expected format: /ownerEmail/datasetName/versionName/fileRelativePath
+ *
+ * Two path shapes are accepted:
+ * - Prefixed:
/datasets/ownerEmail/datasetName/versionName/fileRelativePath
Review Comment:
Updated to support only the path with prefix
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]