Skip to content
  • Home
  • About
  • Write For US
|       { One stop for all Spark Examples }
Spark by {Examples}
  • Spark
    • Spark RDD
    • Spark DataFrame
    • Spark SQL Functions
    • What’s New in Spark 3.0?
    • Spark Streaming
    • Apache Spark Interview Questions
  • PySpark
  • Pandas
  • Hive
  • Kafka
  • H2O.ai
  • Interview Q
    • Spark Interview Questions
  • More
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala Language
    • Python NumPy
    • R Language
Menu Close
  • Spark
    • Spark RDD
    • Spark DataFrame
    • Spark SQL Functions
    • What’s New in Spark 3.0?
    • Spark Streaming
    • Apache Spark Interview Questions
  • PySpark
  • Pandas
  • Hive
  • Kafka
  • H2O.ai
  • Interview Q
    • Spark Interview Questions
  • More
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala Language
    • Python NumPy
    • R Language
  • Home
  • About
  • Write For US
Read more about the article PySpark SQL – Working with Unix Time | Timestamp
PySpark

PySpark SQL – Working with Unix Time | Timestamp

In PySpark SQL, unix_timestamp() is used to get the current time and to convert the time string in a format yyyy-MM-dd HH:mm:ss to Unix timestamp (in seconds) and from_unixtime() is…

0 Comments
February 26, 2021
Read more about the article Spark Epoch time to timestamp and Date
Apache Spark / Spark SQL Functions

Spark Epoch time to timestamp and Date

In this Spark article, you will learn how to convert or cast Epoch time to Timestamp and Date using SQL function from_unixtime() and Scala language What is Epoch Time Epoch…

0 Comments
December 24, 2019
Read more about the article Spark SQL – Working with Unix  Timestamp
Apache Spark / Spark SQL Functions

Spark SQL – Working with Unix Timestamp

In this Spark article, you will learn how to convert or cast the DataFrame column from Unix timestamp in seconds (Long) to Date, Timestamp, and vice-versa using SQL functions unix_timestamp()…

0 Comments
December 24, 2019
Read more about the article Spark convert Unix timestamp (seconds) to Date
Apache Spark / Spark SQL Functions

Spark convert Unix timestamp (seconds) to Date

In this article, you will learn how to convert Unix timestamp (in seconds) as a long to Date and Date to seconds on the Spark DataFrame column using SQL Function…

2 Comments
December 23, 2019
Read more about the article Spark Convert Unix Epoch Seconds to Timestamp
Apache Spark / Spark SQL Functions

Spark Convert Unix Epoch Seconds to Timestamp

In this article, you will learn how to convert Unix epoch seconds to timestamp and timestamp to Unix epoch seconds on the Spark DataFrame column using SQL Functions with Scala…

5 Comments
December 23, 2019

Categories

  • Apache Hadoop
  • Apache Spark
  • Apache Spark Streaming
  • Apache Kafka
  • Apache HBase
  • Apache Cassandra
  • Snowflake Database
  • H2O Sparkling Water
  • PySpark

Recent Posts

  • Select Columns by Index Position in R
  • How to Select Columns by Name in R?
  • How to Select Columns in R?
  • R Data Frame Tutorial | Learn with Examples
  • R select() Function from dplyr – Usage with Examples
  • R Filter DataFrame by Column Value
  • slice() from dplyr in R – Examples
  • R data.table Tutorial | Learn with Examples
  • R dplyr Tutorial | Learn with Examples
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

About SparkByExamples.com

SparkByExamples.com is a Big Data and Spark examples community page, all examples are simple and easy to understand, and well tested in our development environment Read more ..
Copyright sparkbyexamples.com