- User Access Token を取得する
- それを使って長い期限のトークンを取得する
/me/accounts?access_token={long_lived_token}
- 無期限のトークンが手に入る
This file contains 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
sealed trait Interact[A] | |
case class Ask(prompt: String) | |
extends Interact[String] | |
case class Tell(msg: String) | |
extends Interact[Unit] | |
trait Monad[M[_]] { | |
def pure[A](a: A): M[A] |
This file contains 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
scalaVersion := "2.11.1" | |
libraryDependencies ++= Seq( | |
"org.scalaz" %% "scalaz-core" % "7.1.0-M7" | |
) | |
scalacOptions ++= Seq("-deprecation", "-language:_") |
- Reading and writing tables in TD through DataFrames of Spark.
- Running Spark SQL queries against DataFrames.
- Submitting Presto SQL queries to TD and reading the query results as DataFrame.
- If you use PySpark, you can use both Spark's DataFrames and Pandas DataFrames interchangeably.