-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't take up more memory than needed when calculating schema
Previously, we expanded the iterator of rows we were handed and turned it into an in-memory list. This isn't actually necessary - we can just iterate through the rows and calculate what we need.
- Loading branch information
Showing
2 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"""FHIR support code for the Cumulus project""" | ||
|
||
__version__ = "1.3.0" | ||
__version__ = "1.3.1" | ||
|
||
from .ml_json import list_multiline_json_in_dir, read_multiline_json, read_multiline_json_from_dir | ||
from .schemas import pyarrow_schema_from_rows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters