Skip to content

Temporal CSV Fix #965

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

Merged
merged 1 commit into from
Apr 11, 2025
Merged

Temporal CSV Fix #965

merged 1 commit into from
Apr 11, 2025

Conversation

trevorgerhardt
Copy link
Member

@trevorgerhardt trevorgerhardt commented Apr 11, 2025

This PR modifies CsvResultWriter to set this.task before calling columnHeaders and changes TemporalDensityCSVResultWriter to use dualAccessThresholds directly from the regional task. The previous columnHeaders changes were attempting to access dualAccessThresholds before they were set which caused an NPE.

As previously noted in comments about columnHeaders there is probably a better solution that should be explored in the future.

This PR modifies `CsvResultWriter` to set `this.task` before calling `columnHeaders` and changes `TemporalDensityCSVResultWriter` to use `dualAccessThresholds` directly from the task. The previous `columnHeaders` changes were attempting to access `dualAccessThresholds` before they were set which caused an NPE.
@trevorgerhardt trevorgerhardt marked this pull request as ready for review April 11, 2025 08:58
@trevorgerhardt trevorgerhardt enabled auto-merge (rebase) April 11, 2025 08:59
Copy link
Member

@ansoncfit ansoncfit left a comment

Choose a reason for hiding this comment

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

Just tested multi-threshold dual access CSVs on staging.

@trevorgerhardt trevorgerhardt merged commit f2a9d33 into dev Apr 11, 2025
4 checks passed
@trevorgerhardt trevorgerhardt deleted the temporal-csv-fix branch April 11, 2025 16:52
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