Skip to content

Instantly share code, notes, and snippets.

@yu-iskw
Last active August 29, 2015 14:27
Show Gist options
  • Save yu-iskw/fe611db4b38b264c6f60 to your computer and use it in GitHub Desktop.
Save yu-iskw/fe611db4b38b264c6f60 to your computer and use it in GitHub Desktop.
Extract the function metadata from `functions.scala`
{
  "def upper(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "upper"
  },
  "def dayofmonth(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "dayofmonth"
  },
  "def lead(e: Column, offset: Int, defaultValue: Any): Column": {
    "R": false,
    "params": [
      "Column",
      "Int",
      "Any"
    ],
    "return_type": "Column",
    "name": "lead"
  },
  "def max(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "max"
  },
  "def hypot(l: Column, r: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def trunc(date: Column, format: String): Column": {
    "R": true,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "trunc"
  },
  "def current_date(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "current_date"
  },
  "def log(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "log"
  },
  "def decode(value: Column, charset: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "decode"
  },
  "def atan2(l: Column, rightName: String): Column": {
    "R": true,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def initcap(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "initcap"
  },
  "def hypot(l: Double, r: Column): Column": {
    "R": false,
    "params": [
      "Double",
      "Column"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def crc32(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "crc32"
  },
  "def sinh(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sinh"
  },
  "def cosh(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "cosh"
  },
  "def ltrim(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "ltrim"
  },
  "def soundex(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "soundex"
  },
  "def shiftLeft(e: Column, numBits: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "shiftLeft"
  },
  "def inputFileName(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "inputFileName"
  },
  "def approxCountDistinct(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "approxCountDistinct"
  },
  "def round(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "round"
  },
  "def min(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "min"
  },
  "def sha2(e: Column, numBits: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "sha2"
  },
  "def count(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "count"
  },
  "def greatest(columnName: String, columnNames: String*): Column": {
    "R": false,
    "params": [
      "String",
      "String*"
    ],
    "return_type": "Column",
    "name": "greatest"
  },
  "def factorial(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "factorial"
  },
  "def to_date(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "to_date"
  },
  "def hypot(l: Column, rightName: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def next_day(date: Column, dayOfWeek: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "next_day"
  },
  "def hypot(leftName: String, r: Double): Column": {
    "R": false,
    "params": [
      "String",
      "Double"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def denseRank(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "denseRank"
  },
  "def rpad(str: Column, len: Int, pad: String): Column": {
    "R": false,
    "params": [
      "Column",
      "Int",
      "String"
    ],
    "return_type": "Column",
    "name": "rpad"
  },
  "def format_string(format: String, arguments: Column*): Column": {
    "R": false,
    "params": [
      "String",
      "Column*"
    ],
    "return_type": "Column",
    "name": "format_string"
  },
  "def atan2(l: Column, r: Column): Column": {
    "R": true,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def ascii(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "ascii"
  },
  "def date_sub(start: Column, days: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "date_sub"
  },
  "def log2(expr: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "log2"
  },
  "def regexp_replace(e: Column, pattern: String, replacement: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String",
      "String"
    ],
    "return_type": "Column",
    "name": "regexp_replace"
  },
  "def second(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "second"
  },
  "def weekofyear(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "weekofyear"
  },
  "def pmod(dividend: Column, divisor: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "pmod"
  },
  "def randn(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "randn"
  },
  "def shiftRight(e: Column, numBits: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "shiftRight"
  },
  "def locate(substr: String, str: Column): Column": {
    "R": false,
    "params": [
      "String",
      "Column"
    ],
    "return_type": "Column",
    "name": "locate"
  },
  "def from_unixtime(ut: Column, f: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "from_unixtime"
  },
  "def least(exprs: Column*): Column": {
    "R": false,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "least"
  },
  "def minute(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "minute"
  },
  "def lag(columnName: String, offset: Int): Column": {
    "R": true,
    "params": [
      "String",
      "Int"
    ],
    "return_type": "Column",
    "name": "lag"
  },
  "def col(colName: String): Column": {
    "R": true,
    "params": [
      "String"
    ],
    "return_type": "Column",
    "name": "col"
  },
  "def lag(columnName: String, offset: Int, defaultValue: Any): Column": {
    "R": true,
    "params": [
      "String",
      "Int",
      "Any"
    ],
    "return_type": "Column",
    "name": "lag"
  },
  "def sort_array(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sort_array"
  },
  "def coalesce(e: Column*): Column": {
    "R": false,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "coalesce"
  },
  "def sumDistinct(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sumDistinct"
  },
  "def lit(literal: Any): Column": {
    "R": false,
    "params": [
      "Any"
    ],
    "return_type": "Column",
    "name": "lit"
  },
  "def lag(e: Column, offset: Int, defaultValue: Any): Column": {
    "R": true,
    "params": [
      "Column",
      "Int",
      "Any"
    ],
    "return_type": "Column",
    "name": "lag"
  },
  "def exp(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "exp"
  },
  "def date_format(dateExpr: Column, format: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "date_format"
  },
  "def approxCountDistinct(e: Column, rsd: Double): Column": {
    "R": false,
    "params": [
      "Column",
      "Double"
    ],
    "return_type": "Column",
    "name": "approxCountDistinct"
  },
  "def hex(column: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "hex"
  },
  "def abs(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "abs"
  },
  "def countDistinct(expr: Column, exprs: Column*): Column": {
    "R": false,
    "params": [
      "Column",
      "Column*"
    ],
    "return_type": "Column",
    "name": "countDistinct"
  },
  "def instr(str: Column, substring: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "instr"
  },
  "def year(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "year"
  },
  "def sqrt(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sqrt"
  },
  "def column(colName: String): Column": {
    "R": false,
    "params": [
      "String"
    ],
    "return_type": "Column",
    "name": "column"
  },
  "def tanh(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "tanh"
  },
  "def atan2(l: Column, r: Double): Column": {
    "R": true,
    "params": [
      "Column",
      "Double"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def concat(exprs: Column*): Column": {
    "R": false,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "concat"
  },
  "def floor(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "floor"
  },
  "def randn(seed: Long): Column": {
    "R": false,
    "params": [
      "Long"
    ],
    "return_type": "Column",
    "name": "randn"
  },
  "def repeat(str: Column, n: Int): Column": {
    "R": true,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "repeat"
  },
  "def sort_array(e: Column, asc: Boolean): Column": {
    "R": false,
    "params": [
      "Column",
      "Boolean"
    ],
    "return_type": "Column",
    "name": "sort_array"
  },
  "def add_months(startDate: Column, numMonths: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "add_months"
  },
  "def rint(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "rint"
  },
  "def pow(l: Column, rightName: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def unix_timestamp(s: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "unix_timestamp"
  },
  "def desc(columnName: String): Column": {
    "R": false,
    "params": [
      "String"
    ],
    "return_type": "Column",
    "name": "desc"
  },
  "def lpad(str: Column, len: Int, pad: String): Column": {
    "R": false,
    "params": [
      "Column",
      "Int",
      "String"
    ],
    "return_type": "Column",
    "name": "lpad"
  },
  "def md5(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "md5"
  },
  "def signum(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "signum"
  },
  "def concat_ws(sep: String, exprs: Column*): Column": {
    "R": false,
    "params": [
      "String",
      "Column*"
    ],
    "return_type": "Column",
    "name": "concat_ws"
  },
  "def size(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "size"
  },
  "def toDegrees(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "toDegrees"
  },
  "def tan(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "tan"
  },
  "def round(e: Column, scale: Int): Column": {
    "R": true,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "round"
  },
  "def struct(colName: String, colNames: String*): Column": {
    "R": false,
    "params": [
      "String",
      "String*"
    ],
    "return_type": "Column",
    "name": "struct"
  },
  "def toRadians(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "toRadians"
  },
  "def current_timestamp(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "current_timestamp"
  },
  "def least(columnName: String, columnNames: String*): Column": {
    "R": false,
    "params": [
      "String",
      "String*"
    ],
    "return_type": "Column",
    "name": "least"
  },
  "def levenshtein(l: Column, r: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "levenshtein"
  },
  "def substring_index(str: Column, delim: String, count: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "String",
      "Int"
    ],
    "return_type": "Column",
    "name": "substring_index"
  },
  "def lower(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "lower"
  },
  "def shiftRightUnsigned(e: Column, numBits: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "shiftRightUnsigned"
  },
  "def expr(expr: String): Column": {
    "R": false,
    "params": [
      "String"
    ],
    "return_type": "Column",
    "name": "expr"
  },
  "def encode(value: Column, charset: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "encode"
  },
  "def atan2(l: Double, r: Column): Column": {
    "R": true,
    "params": [
      "Double",
      "Column"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def pow(leftName: String, r: Double): Column": {
    "R": false,
    "params": [
      "String",
      "Double"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def not(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "not"
  },
  "def log(base: Double, a: Column): Column": {
    "R": true,
    "params": [
      "Double",
      "Column"
    ],
    "return_type": "Column",
    "name": "log"
  },
  "def sin(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sin"
  },
  "def log10(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "log10"
  },
  "def split(str: Column, pattern: String): Column": {
    "R": true,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "split"
  },
  "def cbrt(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "cbrt"
  },
  "def sparkPartitionId(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "sparkPartitionId"
  },
  "def trim(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "trim"
  },
  "def regexp_extract(e: Column, exp: String, groupIdx: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "String",
      "Int"
    ],
    "return_type": "Column",
    "name": "regexp_extract"
  },
  "def asc(columnName: String): Column": {
    "R": false,
    "params": [
      "String"
    ],
    "return_type": "Column",
    "name": "asc"
  },
  "def quarter(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "quarter"
  },
  "def pow(l: Column, r: Double): Column": {
    "R": false,
    "params": [
      "Column",
      "Double"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def struct(cols: Column*): Column": {
    "R": false,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "struct"
  },
  "def rank(): Column": {
    "R": true,
    "params": [],
    "return_type": "Column",
    "name": "rank"
  },
  "def translate(src: Column, matchingString: String, replaceString: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String",
      "String"
    ],
    "return_type": "Column",
    "name": "translate"
  },
  "def first(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "first"
  },
  "def unix_timestamp(s: Column, p: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "unix_timestamp"
  },
  "def datediff(end: Column, start: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "datediff"
  },
  "def greatest(exprs: Column*): Column": {
    "R": false,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "greatest"
  },
  "def cumeDist(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "cumeDist"
  },
  "def lag(e: Column, offset: Int): Column": {
    "R": true,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "lag"
  },
  "def nanvl(col1: Column, col2: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "nanvl"
  },
  "def hypot(leftName: String, rightName: String): Column": {
    "R": false,
    "params": [
      "String",
      "String"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def when(condition: Column, value: Any): Column": {
    "R": false,
    "params": [
      "Column",
      "Any"
    ],
    "return_type": "Column",
    "name": "when"
  },
  "def dayofyear(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "dayofyear"
  },
  "def pow(l: Double, rightName: String): Column": {
    "R": false,
    "params": [
      "Double",
      "String"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def hypot(l: Column, r: Double): Column": {
    "R": false,
    "params": [
      "Column",
      "Double"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def reverse(str: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "reverse"
  },
  "def lead(e: Column, offset: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "lead"
  },
  "def ceil(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "ceil"
  },
  "def unbase64(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "unbase64"
  },
  "def from_unixtime(ut: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "from_unixtime"
  },
  "def avg(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "avg"
  },
  "def unix_timestamp(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "unix_timestamp"
  },
  "def conv(num: Column, fromBase: Int, toBase: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int",
      "Int"
    ],
    "return_type": "Column",
    "name": "conv"
  },
  "def countDistinct(columnName: String, columnNames: String*): Column": {
    "R": false,
    "params": [
      "String",
      "String*"
    ],
    "return_type": "Column",
    "name": "countDistinct"
  },
  "def atan2(leftName: String, r: Column): Column": {
    "R": true,
    "params": [
      "String",
      "Column"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def rand(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "rand"
  },
  "def array(colName: String, colNames: String*): Column": {
    "R": true,
    "params": [
      "String",
      "String*"
    ],
    "return_type": "Column",
    "name": "array"
  },
  "def locate(substr: String, str: Column, pos: Int): Column": {
    "R": false,
    "params": [
      "String",
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "locate"
  },
  "def lead(columnName: String, offset: Int, defaultValue: Any): Column": {
    "R": false,
    "params": [
      "String",
      "Int",
      "Any"
    ],
    "return_type": "Column",
    "name": "lead"
  },
  "def last_day(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "last_day"
  },
  "def length(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "length"
  },
  "def sum(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sum"
  },
  "def base64(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "base64"
  },
  "def isNaN(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "isNaN"
  },
  "def array(cols: Column*): Column": {
    "R": true,
    "params": [
      "Column*"
    ],
    "return_type": "Column",
    "name": "array"
  },
  "def acos(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "acos"
  },
  "def pow(leftName: String, r: Column): Column": {
    "R": false,
    "params": [
      "String",
      "Column"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def rowNumber(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "rowNumber"
  },
  "def pow(leftName: String, rightName: String): Column": {
    "R": false,
    "params": [
      "String",
      "String"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def bitwiseNOT(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "bitwiseNOT"
  },
  "def hour(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "hour"
  },
  "def unhex(column: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "unhex"
  },
  "def pow(l: Double, r: Column): Column": {
    "R": false,
    "params": [
      "Double",
      "Column"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def monotonicallyIncreasingId(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "monotonicallyIncreasingId"
  },
  "def atan2(leftName: String, rightName: String): Column": {
    "R": true,
    "params": [
      "String",
      "String"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def rtrim(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "rtrim"
  },
  "def asin(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "asin"
  },
  "def ntile(n: Int): Column": {
    "R": false,
    "params": [
      "Int"
    ],
    "return_type": "Column",
    "name": "ntile"
  },
  "def from_utc_timestamp(ts: Column, tz: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "from_utc_timestamp"
  },
  "def explode(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "explode"
  },
  "def month(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "month"
  },
  "def approxCountDistinct(columnName: String, rsd: Double): Column": {
    "R": false,
    "params": [
      "String",
      "Double"
    ],
    "return_type": "Column",
    "name": "approxCountDistinct"
  },
  "def atan2(l: Double, rightName: String): Column": {
    "R": true,
    "params": [
      "Double",
      "String"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def negate(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "negate"
  },
  "def rand(seed: Long): Column": {
    "R": false,
    "params": [
      "Long"
    ],
    "return_type": "Column",
    "name": "rand"
  },
  "def percentRank(): Column": {
    "R": false,
    "params": [],
    "return_type": "Column",
    "name": "percentRank"
  },
  "def lead(columnName: String, offset: Int): Column": {
    "R": false,
    "params": [
      "String",
      "Int"
    ],
    "return_type": "Column",
    "name": "lead"
  },
  "def cos(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "cos"
  },
  "def log(base: Double, columnName: String): Column": {
    "R": true,
    "params": [
      "Double",
      "String"
    ],
    "return_type": "Column",
    "name": "log"
  },
  "def atan(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "atan"
  },
  "def pow(l: Column, r: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "pow"
  },
  "def substring(str: Column, pos: Int, len: Int): Column": {
    "R": true,
    "params": [
      "Column",
      "Int",
      "Int"
    ],
    "return_type": "Column",
    "name": "substring"
  },
  "def mean(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "mean"
  },
  "def bin(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "bin"
  },
  "def months_between(date1: Column, date2: Column): Column": {
    "R": false,
    "params": [
      "Column",
      "Column"
    ],
    "return_type": "Column",
    "name": "months_between"
  },
  "def hypot(l: Double, rightName: String): Column": {
    "R": false,
    "params": [
      "Double",
      "String"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def format_number(x: Column, d: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "format_number"
  },
  "def array_contains(column: Column, value: Any): Column": {
    "R": false,
    "params": [
      "Column",
      "Any"
    ],
    "return_type": "Column",
    "name": "array_contains"
  },
  "def expm1(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "expm1"
  },
  "def log1p(e: Column): Column": {
    "R": true,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "log1p"
  },
  "def sha1(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "sha1"
  },
  "def hypot(leftName: String, r: Column): Column": {
    "R": false,
    "params": [
      "String",
      "Column"
    ],
    "return_type": "Column",
    "name": "hypot"
  },
  "def last(e: Column): Column": {
    "R": false,
    "params": [
      "Column"
    ],
    "return_type": "Column",
    "name": "last"
  },
  "def date_add(start: Column, days: Int): Column": {
    "R": false,
    "params": [
      "Column",
      "Int"
    ],
    "return_type": "Column",
    "name": "date_add"
  },
  "def atan2(leftName: String, r: Double): Column": {
    "R": true,
    "params": [
      "String",
      "Double"
    ],
    "return_type": "Column",
    "name": "atan2"
  },
  "def to_utc_timestamp(ts: Column, tz: String): Column": {
    "R": false,
    "params": [
      "Column",
      "String"
    ],
    "return_type": "Column",
    "name": "to_utc_timestamp"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment