kz930 commented on code in PR #9240:
URL: https://github.com/apache/texera/pull/9240#discussion_r4607475284
##########
workflow-compiling-service/src/main/scala/org/apache/texera/amber/translator/WorkflowToPythonTranslator.scala:
##########
@@ -38,6 +38,11 @@ class WorkflowToPythonTranslator extends LazyLogging {
// (e.g. Split has port 0 and port 1, each with its own assigned dfN var).
private type PortKey = (String, Int) // (opId, portIdx)
+ // The files the export's zip holds, which unzip into the directory the
script
+ // reads its sources from. A source offering one of these names would be
+ // overwritten by it, so they count as taken before any source is named.
+ private val archiveFileNames = Set("script.py", "texera_helpers.py")
Review Comment:
Thanks. Names are now compared ignoring case, so `Script.py` becomes
`Script-2.py`, and the export modal says which file to save under which name.
--
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]