Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
python style
  • Loading branch information
zhichao-li committed Jul 3, 2015
commit 3e9f5aef20208c7e20e024c20f16745b12f0bea1
2 changes: 2 additions & 0 deletions python/pyspark/sql/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def shiftRight(col, numBits):
jc = sc._jvm.functions.shiftRight(_to_java_column(col), numBits)
return Column(jc)


@since(1.5)
def shiftRightUnsigned(col, numBits):
"""Unsigned shift the the given value numBits right.
Expand All @@ -447,6 +448,7 @@ def shiftRightUnsigned(col, numBits):
jc = sc._jvm.functions.shiftRightUnsigned(_to_java_column(col), numBits)
return Column(jc)


@since(1.4)
def sparkPartitionId():
"""A column for partition ID of the Spark task.
Expand Down