The GitHub Actions job "Build" on texera.git/main has succeeded.
Run started by GitHub user mengw15 (triggered by mengw15).

Head commit for run:
0485b4d6d8d84915843626bbfc1fe51e1bc7da25 / Nicole Ying 
<[email protected]>
feat(operator): add carpet plot operator (#4398)

### What changes were proposed in this PR?
This PR introduces a new scientific visualization operator, Carpet Plot,
which visualizes data over two axes with a corresponding value to
generate a carpet plot representation.

The operator takes three required attributes:
- Axis A: first dimension of the plot  
- Axis B: second dimension of the plot  
- Value (Y): numeric value used to generate the visualization  
Based on these inputs, the operator generates a carpet plot
visualization.

File Changes:
- Added CarpetPlot.png to
frontend/src/assets/operator_images/CarpetPlot.png
- Added CarpetPlotOpDesc to
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/visualization/carpetPlot/CarpetPlotOpDesc.scala
- Added lines to import CarpetPlot operator to
common/workflow-operator/src/main/scala/edu/uci/ics/amber/operator/LogicalOp.scala

Testing CSV file: 

[carpet_test.csv](https://github.com/user-attachments/files/26803094/texera_carpet_test.csv)

Sample Output:
<img width="1512" height="862" alt="CarpetSample"
src="https://github.com/user-attachments/assets/f6230d71-e1ac-4559-ac30-48c0ec87ed7f";
/>

### Any related issues, documentation, discussions?

No

### How was this PR tested?
This PR was tested both manually and using existing backend test suites.
Backend Tests:
   - Ran `sbt test` from the root directory.
- All operator validation and compilation checks passed successfully,
including the newly added CarpetPlot operator.

Manual UI Testing:
   - Started Texera frontend and backend locally.
- Verified that the Carpet Plot operator appears in the operator panel.
   - Verified the generated result.
   - Confirmed that the custom icon is displayed correctly.

### Was this PR authored or co-authored using generative AI tooling?

No

Report URL: https://github.com/apache/texera/actions/runs/24639415017

With regards,
GitHub Actions via GitBox

Reply via email to