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
  • Hive
  • Pandas
  • NumPy
  • R
  • Interview Q
    • Spark Interview Questions
  • More
    • KafkaApache Kafka Tutorials with Examples
    • H2O.ai
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala 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
  • Hive
  • Pandas
  • NumPy
  • R
  • Interview Q
    • Spark Interview Questions
  • More
    • Kafka
    • H2O.ai
    • Apache Hadoop
    • Apache HBase
    • Apache Cassandra
    • Snowflake Database
    • H2O Sparkling Water
    • Scala Language
  • Home
  • About
  • Write For US
Read more about the article Spark – Using XStream API to write complex XML structures
Apache Spark

Spark – Using XStream API to write complex XML structures

When you have a need to write complex XML structures from Spark Data Frame and Databricks XML API is not suitable for your use case, you could use XStream API to convert data to XML string and write it as a text. Let's see how to do this using an example.

1 Comment
March 29, 2019
Read more about the article Spark Read XML file using Databricks API
Apache Spark

Spark Read XML file using Databricks API

Apache Spark can also be used to process or read simple to complex nested XML files into Spark DataFrame and writing it back to XML using Databricks Spark XML API…

3 Comments
March 28, 2019

Categories

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

Recent Posts

  • Running Pandas on Apache Spark Explained With Examples
  • Spark Drop DataFrame from Cache
  • How to Use NumPy Exponential Function
  • How to get Diagonal of NumPy Array Using diag()
  • Python NumPy Interpolate Function
  • NumPy nanmean() – Get Mean ignoring NAN Values
  • NumPy Count Nonzero Values in Python
  • NumPy tile() Function in Python
  • Python NumPy Reverse Array
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