Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Compute bitwise OR of this expression with another expression.
Changed in Databricks Runtime 13.0: Supports Spark Connect.
Syntax
bitwiseOR(other)
Parameters
| Parameter | Type | Description |
|---|---|---|
other |
Column or value | A value or Column to calculate bitwise OR (|) with this Column |
Returns
Column
Examples
from pyspark.sql import Row
df = spark.createDataFrame([Row(a=170, b=75)])
df.select(df.a.bitwiseOR(df.b)).collect()
# [Row((a | b)=235)]