Skip to content

Instantly share code, notes, and snippets.

Seongduk Cheon schon

  • Tokyo, Japan
Block or report user

Report or block schon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ChintAISearch
swagger: "2.0"
version: "2018-03-29T10:08:28Z"
title: "ChintAISearch"
host: ""
basePath: "/dev"
- "https"
import java.util.*;
public class InvertIndexer {
private Map<String, Set<String>> invertedIndex = new HashMap<>();
public void index(String[][] inputSet) {
for (String[] input : inputSet) {
String word = input[0];
Set<String> words;
schon / SparkDFTest.scala
Last active Nov 7, 2015
Workaround a equality bug of data frame in spark 1.5.1
View SparkDFTest.scala
import org.apache.spark.sql.SQLContext
import org.apache.spark.sql.functions._
import org.apache.spark.{SparkConf, SparkContext}
object SparkDFTest {
def main(args: Array[String]) {
val conf = new SparkConf().setAppName("SparkDFTest")
val sc = new SparkContext(conf)
You can’t perform that action at this time.