Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
badrinathpatchikolla committed Aug 31, 2023
1 parent 67849f2 commit 5057a4c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ private[almaren] case class HTTP(

import df.sparkSession.implicits._

val headersColExists = columnExists(df,Alias.HeadersCol)
val paramsColExists = columnExists(df,Alias.ParamsCol)
val hiddenParamsColExists = columnExists(df,Alias.HiddenParamsCol)
val headersColExists = columnExists(df, Alias.HeadersCol)
val paramsColExists = columnExists(df, Alias.ParamsCol)
val hiddenParamsColExists = columnExists(df, Alias.HiddenParamsCol)

val result = df.mapPartitions(partition => {

Expand Down Expand Up @@ -126,7 +126,7 @@ private[almaren] case class HTTP(
case Failure(re: RequestFailedException) => getResponse(re.response)
case Failure(f) => {
logger.error("Almaren HTTP Request Error", f)
Response(id, `__ERROR__` = Some(f.getMessage), `__ELAPSED_TIME__` = elapsedTime, `__URL__` = url,`__DATA__` = data)
Response(id, `__ERROR__` = Some(f.getMessage), `__ELAPSED_TIME__` = elapsedTime, `__URL__` = url, `__DATA__` = data)
}
}
}
Expand Down

0 comments on commit 5057a4c

Please sign in to comment.