This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implicit class DatasetEnrichedJoinWiths[T](ds: Dataset[T])(implicit ct: ClassTag[T]) { | |
val Inner = "inner" | |
val Outer = "outer" | |
val LeftOuter = "left_outer" | |
val RightOuter = "right_outer" | |
val LeftSemi = "leftsemi" | |
def outerJoin[U](other: Dataset[U], expr: Column): Dataset[(Option[T], Option[U])] = { | |
// Ideally use a better encoder, but this compiles for now | |
implicit val enc = Encoders.kryo[(Option[T], Option[U])] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Orb Fountain</title> | |
<meta charset="UTF-8" /> | |
<style type="text/css"> | |
* { font-family: Verdana, Arial, sans-serif; } | |
body { background-color: #000; cursor: default; } | |
h1 { font-size: 15pt; } |