carloea2 commented on code in PR #8506:
URL: https://github.com/apache/texera/pull/8506#discussion_r4462737593
##########
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:
With left x:DOUBLE=1 and right y:DOUBLE=1, schema propagation succeeds and
native Intersect emits no rows, but this export emits x=1. Please preserve
schema-sensitive equality or explicitly reject this case.
--
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]