BitwiseXor / Logical Layer

Create a column by applying bitwise XOR operation element-wise between two numeric columns. Similar to numpy bitwise_xor() or R's bitwXor(). Performs binary XOR on each bit position.

Example (with binary representation):

IndexLeftRightBitwise XOR
06 (110)5 (101)3 (011)
13 (011)3 (011)0 (000)
2null5 (101)null
38 (1000)7 (111)15 (1111)

Common applications:

  • Change detection
  • Error checking codes
  • Toggle operations
  • Parity calculation
  • Bit difference detection
Table
0
0
Table

The first numeric column for the bitwise XOR operation. Values are treated as binary numbers. Null values result in null output.

The second numeric column for the bitwise XOR operation. Must be same type as SelectLeft. Common pairs:

  • Old and new values
  • Expected and actual patterns
  • Reference and test data

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.