Skip to content

Commit

Permalink
Fixes #2170 - Removed irrelevant doc
Browse files Browse the repository at this point in the history
  • Loading branch information
TebaleloS committed Feb 24, 2023
1 parent 133bf0a commit 8d4b3c6
Showing 1 changed file with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,8 @@ import org.apache.spark.sql.types.StructType
import za.co.absa.standardization.config.DefaultErrorCodesConfig
import za.co.absa.spark.commons.errorhandling.ErrorMessage

/**
* Case class to represent an error message
*
* @param errType - Type or source of the error
* @param errCode - Internal error code
* @param errMsg - Textual description of the error
* @param errCol - The name of the column where the error occurred
* @param rawValues - Sequence of raw values (which are the potential culprits of the error)
* @param mappings - Sequence of Mappings i.e Mapping Table Column -> Equivalent Mapped Dataset column
*/
//case class ErrorMessage(errType: String, errCode: String, errMsg: String, errCol: String, rawValues: Seq[String], mappings: Seq[Mapping] = Seq())
//case class Mapping(mappingTableColumn: String, mappedDatasetColumn: String)

object EnceladusErrorMessage {
// val errorColumnName = "errCol"

def confMappingErr(errCol: String, rawValues: Seq[String], mappings: Seq[ErrorMessage.Mapping]): ErrorMessage = ErrorMessage(
errType = "confMapError",
Expand Down

0 comments on commit 8d4b3c6

Please sign in to comment.