Skip to content

Commit

Permalink
scalafmt formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowers committed May 20, 2019
1 parent 9cffd6f commit 2f3d0f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ object transformations {
outputColName,
get_json_object(
col(colName),
path)
path
)
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -621,23 +621,23 @@ object TransformationsTest extends TestSuite with DataFrameComparer with ColumnC

'getJsonObject - {
val bart = """
|{
| "name": "Bart cool",
| "info": {
| "age": 25,
| "gender": "male"
| }
|}
|{
| "name": "Bart cool",
| "info": {
| "age": 25,
| "gender": "male"
| }
|}
""".stripMargin

val lisa = """
|{
| "name": "Lisa frost",
| "info": {
| "age": 27,
| "gender": "female"
| }
|}
|{
| "name": "Lisa frost",
| "info": {
| "age": 27,
| "gender": "female"
| }
|}
""".stripMargin

val sourceDF = spark.createDF(
Expand Down

0 comments on commit 2f3d0f1

Please sign in to comment.