View SparkCrossJoin.scala
package net.hyperj.spark.example
import org.apache.spark.SparkConf
import org.apache.spark.internal.Logging
import org.apache.spark.sql.SparkSession
/**
* Spark CrossJoin Example
*
* Copyright (C) 2009 - 2018 HyperJ <http://blog.hyperj.net>. All Rights Reserved.
View BroadcastWrapper.scala
package net.hyperj.spark.utils
import org.apache.spark.SparkContext
import org.apache.spark.broadcast.Broadcast
import scala.reflect.ClassTag
/**
* Spark Broadcast Wrapper
*
View from_hive_export_to local.sh
#!/bin/sh
# Copyright (C) 2009 - 2018 HyperJ <http://blog.hyperj.net>. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#