Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OB-524 : Adding comments for better code understanding. #176

Open
wants to merge 1 commit into
base: release-5.1.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ object OnDemandDruidExhaustJob extends BaseReportsJob with Serializable with IJo
new SimpleDateFormat(pattern)
}

/**
* This method processes a job request, fetches data from Druid, performs post-processing, updates the request status,
* and handles success or failure scenarios.
*/
def processRequest(request: JobRequest, reportConfig: ReportConfig, storageConfig: StorageConfig, sortDfColNames: Option[List[String]])(implicit spark: SparkSession, fc: FrameworkContext, sqlContext: SQLContext, sc: SparkContext, config: JobConfig, conf: Configuration): JobRequest = {
markRequestAsProcessing(request)
val druidData: RDD[DruidOutput] = fetchDruidData(reportConfig, true, false, false)
Expand Down