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

Feature/update tag name for dups #401

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ag-ramachandran
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Sep 19, 2024

Test Results

76 tests  ±0   76 ✅ ±0   2m 49s ⏱️ +30s
22 suites ±0    0 💤 ±0 
22 files   ±0    0 ❌ ±0 

Results for commit dfaba24. ± Comparison against base commit 175ac60.

♻️ This comment has been updated with latest results.

blobUUID: String,
kustoClient: ExtendedKustoClient,
partitionsResults: CollectionAccumulator[PartitionResult],
batchIdForTracing: String,
Copy link
Contributor

Choose a reason for hiding this comment

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

use the batchIdForTracing as well in getDedupTagsPrefix - so that it will work on (spark) streaming as well.

parameters: KustoWriteResource,
ingestionProperties: IngestionProperties,
flushImmediately: Boolean = false,
blobUUID: String,
Copy link
Contributor

Choose a reason for hiding this comment

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

blobUUID - not used

val kustoClient = KustoClientCache.getClient(
parameters.coordinates.clusterUrl,
parameters.authentication,
parameters.coordinates.ingestionUrl,
parameters.coordinates.clusterAlias)
val blobIdMap = new ConcurrentHashMap[String, Int]()
Copy link
Contributor

Choose a reason for hiding this comment

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

did you mean for this to be some static cache ? if so it will need to live outside the function as a member.
currently this will always hold only the current run with the same request id in all Map entries,
Regardless - a simple integer with ncrements would do the job i think

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.

2 participants