Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #265
Background
We want Arrow to read
nowcast_date
andsequence_as_of
colummns as astring
data type rather thanlarge_string
(see issue linked above for more details).This PR changes the method of writing both oracle and time series target data parquet files to ensure that all text columns will be read by arrow as
string
.Testing
The tests in
get_target_data.py
now read the target data files with PyArrow to confirm the schema.Some manual poking around confirmed this in R.
Reading a single time series file before the change (partitioned reads didn't work, which is the reason for the PR)
Reading partitioned time series files after the change: