Skip to content

teamclairvoyant/data-scalaxy-transformer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-scalaxy-transformer

This library provides users with multiple transformation APIs that can be triggered on a spark dataframe object.

List of transformation APIs

User can use below available API methods that can be called on a spark dataframe:

  • addColumn
  • addColumnWithExpression
  • addPrefixToColumnNames
  • addSuffixToColumnNames
  • castColumns
  • castColumnsBasedOnPrefix
  • castColumnsBasedOnSuffix
  • castFromToDataTypes
  • castNestedColumn
  • changeCaseOfColumnNames
  • convertArrayOfStructToArrayOfJSONString
  • convertJSONStringToStruct
  • flattenSchema
  • renameColumns
  • replaceStringInColumnName
  • splitColumn

Documentation

You can find the documentation for all the above APIs here

Usage

You can find the usage examples of all above APIs here