Skip to content

Commit

Permalink
Merge pull request #46 from gismart/timestamp_fix
Browse files Browse the repository at this point in the history
Allow truncated timestamps on export
  • Loading branch information
maxim-lisovsky-gismart authored Apr 4, 2024
2 parents ada5e65 + fcf66c7 commit 4801cee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Add `--upgrade` option to update existing package to a new version
Specify package link in your `requirements.txt`:

```txt
git+https://github.com/gismart/[email protected].2#egg=bi-utils-gismart
git+https://github.com/gismart/[email protected].3#egg=bi-utils-gismart
```

### Usage
Expand Down
1 change: 1 addition & 0 deletions bi_utils/aws/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ def upload_data(
file_path,
partition_cols=partition_cols,
coerce_timestamps="us",
allow_truncated_timestamps=True,
index=False,
)
else:
Expand Down
1 change: 1 addition & 0 deletions bi_utils/queue_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def _export_df(
file_path,
partition_cols=partition_cols,
coerce_timestamps="us",
allow_truncated_timestamps=True,
index=False,
)
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setuptools.setup(
name="bi-utils-gismart",
version="0.16.2",
version="0.16.3",
author="gismart",
author_email="[email protected]",
description="Utils for BI team",
Expand Down

0 comments on commit 4801cee

Please sign in to comment.