Skip to content

Commit

Permalink
version and changelog for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Jun 27, 2024
1 parent e96339e commit 45ef94a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,35 @@



## [5.15.0] - 2024-06-27

### Added

- `Enhancement` A user contributed method `sasdata2parquet` (sd2pq), which is like sasdata2dataframe, but for data too
big to fit in a Pandas DataFrame (not enough memory). This method streams the data over, like sd2df but it writes the data
out as parquet file(s) so that it can then be access in Python by Arrow. It was designed specifically for the users use case,
but it can be used for simple situations as well. There are a lot of parameters, but most default so they aren't needed. It
can be called as simply as: sas.sasdata2parquet('parquet_file','cars','sashelp'). Se the API doc for more.

### Changed

- ` Deprecated ` In version 5.13.0, the JWT authentication mechanism for the HTTP Access Method (Viya) was being deprecated,
so a warning message about that was added to the code path. It turns out that this is being deprecated only for connecting to
Viya using the default SASPy client_id. If however, you have created your own client_id that can use Azure JWT's to connect, then
you can continue to connect and authenticate with the JWT mechanism by providing that client_id, along with the client_secret
and the jwt to SASPy. Those are all existing configuration keys that have been there since before had an internal client id that it
defaults to.

### Fixed

- `None` Nothing fixed

### Removed

- `None` Nothing removed



## [5.14.0] - 2024-06-14

### Added
Expand Down
8 changes: 6 additions & 2 deletions saspy/sasbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,9 @@ def sd2pq(self, parquet_file_path: str, table: str, libref: str ='', dsopts: dic
rowrep: str = ' ', colrep: str = ' ',
**kwargs) -> None:
"""
This method exports the SAS Data Set to a Parquet file. This is an alias for sasdata2parquet.
This method exports the SAS Data Set to a Parquet file. This is an alias for sasdata2parquet. This is a user contributed method
created to work around data sets that are too large to be able to reside in a data frame; not enough memory for Python to have
it in Pandas. So, this writes the data out to a parquet file so it can be instantiated back in Python using Arrow.
:param parquet_file_path: path of the parquet file to create
:param table: the name of the SAS Data Set you want to export to a Pandas Data Frame
Expand Down Expand Up @@ -2061,7 +2063,9 @@ def sasdata2parquet(self,
colrep: str = ' ',
**kwargs) -> None:
"""
This method exports the SAS Data Set to a Parquet file. This is an alias for sasdata2parquet.
This method exports the SAS Data Set to a Parquet file. This is a user contributed method created to work around data sets that
are too large to be able to reside in a data frame; not enough memory for Python to have it in Pandas. So, this writes the data
out to a parquet file so it can be instantiated back in Python using Arrow.
:param parquet_file_path: path of the parquet file to create
:param table: the name of the SAS Data Set you want to export to a Pandas Data Frame
Expand Down
2 changes: 1 addition & 1 deletion saspy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '5.14.0'
__version__ = '5.15.0'

0 comments on commit 45ef94a

Please sign in to comment.