kz930 commented on code in PR #8506:
URL: https://github.com/apache/texera/pull/8506#discussion_r4466463925


##########
common/workflow-operator/src/main/scala/org/apache/texera/amber/operator/set/intersect/IntersectOpDesc.scala:
##########
@@ -52,4 +51,13 @@ class IntersectOpDesc extends LogicalOp {
       inputPorts = List(InputPort(PortIdentity()), InputPort(PortIdentity(1))),
       outputPorts = List(OutputPort(blocking = true))
     )
+
+  // Distinct left rows the right also holds, by the engine's row equality, 
which
+  // `_texera_key_codes` with `signed` numbers.
+  override def generateStandaloneCode(): String =
+    """_texera_set_left, _texera_set_right = _texera_key_codes(in1df, in2df, 
signed=True)

Review Comment:
   Fixed in ac44d5bf2. When the two input schemas differ, the export now emits 
no rows, matching the engine's schema-aware tuple equality.



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