zyratlo opened a new issue, #9384:
URL: https://github.com/apache/texera/issues/9384

   ### Feature Summary
   
   Many data analyses live in R Jupyter notebooks, and the migration tool 
currently only understands Python ones. This issue tracks letting users convert 
an R notebook into a Texera workflow of R UDFs, as the notebook part of #8009. 
R UDFs only run where the computing unit has the texera-rudf plugin installed, 
which no Texera image ships, so the feature has to stay off unless a deployment 
opts in. When it is off, users should still be able to see that R exists rather 
than have it silently missing. The converted notebook should open in the 
Jupyter panel with the same cell highlighting Python notebooks get.
   
   ### Proposed Solution or Design
   
   The Jupyter Notebook tab of the import modal gets a centered Python Notebook 
/ R Notebook switch that defaults to Python, and the diagram, description and 
upload label follow it. Conversion uses a separate R prompt set: every UDF uses 
the Table API, objects pass between UDFs as serialized R objects in binary 
columns, terminal UDFs return character columns, and plots are converted with 
`ggplotly()` into an `html-content` page. Generated operators are `RUDF` with 
`useTupleAPI` set to false, and the stored notebook uses the `ir` kernelspec. A 
new `rNotebookMigrationEnabled` flag, off by default, disables the R option 
with a tooltip and makes the conversion refuse R before any model call. A 
notebook uploaded as R whose kernel is not R is rejected before conversion. The 
prompt and flag work landed in #8910 and #8911, and the modal and dispatch are 
in #8912.
   
   ### Affected Area
   
   Workflow UI


-- 
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]

Reply via email to