Skip to content

feat(preproc): input file oriented preprocssing - #4062

Open
awildturtok wants to merge 2 commits into
feature/preprocess-performancefrom
feature/input-file-oriented-pp
Open

awildturtok wants to merge 2 commits into
feature/preprocess-performancefrom
feature/input-file-oriented-pp

Conversation

@awildturtok

Copy link
Copy Markdown
Collaborator

No description provided.

@awildturtok
awildturtok requested a review from thoniTUB as a code owner October 1, 2026 08:18
@awildturtok
awildturtok changed the base branch from develop to feature/preprocess-performance October 1, 2026 08:19

final File preprocessedFile = preprocessingJob.getPreprocessedFile();
TableImportDescriptor descriptor = preprocessingJob.getDescriptor();
private void process(String[] row, ConqueryConfig config) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bind the config as a field in JobContext

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to processRow

final TableInputDescriptor input = descriptor.getInputs()[inputSource];
final File sourceFile = resolveSourceFile(input.getSourceFile(), preprocessingJob.getCsvDirectory(), preprocessingJob.getTag());
private void logErrors() {
if (errors > 0) {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invert + return

/**
* Apply one descriptor's transformations and write its CQPP output.
*/
public static void preprocess(PreprocessingJob job, ProgressBar totalProgress, ConqueryConfig config, int buckets) throws IOException {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uinify by calling List-based overload and passing in singleton List

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant