Skip to content

Releases: moj-analytical-services/mojap-metadata

bug fixer all day

19 Apr 12:20
6c744e3
Compare
Choose a tag to compare
v1.9.3

Update pyproject.toml

bug bug fix fix

14 Apr 14:48
d6b2626
Compare
Choose a tag to compare

didn't update poetry

bug fix

14 Apr 12:29
e09bf33
Compare
Choose a tag to compare

when tables had partitions, it was incorrectly calling read_sql_query instead of start_query_execution_and_wait

v1.9.0

29 Mar 13:27
70256e9
Compare
Choose a tag to compare

Added:

  • Create database if doesn't already exist in GlueTable.generate_from_meta method.

Add JSON and YAML read from S3

24 Mar 14:05
156e350
Compare
Choose a tag to compare

Added:

  • Metadata.from_json(): Classmethod will now determine if the JSON file is stored in S3, and read in as necessary.
  • Metadata.from_yaml(): Classmethod will now determine if the YAML file is stored in S3, and read in as necessary.

Metadata.merge

03 Mar 09:38
ee193e8
Compare
Choose a tag to compare

The Metadata class now has a merge method to combine two existing Metadata instances.

includes column_names_to_lower and upper methods

17 Feb 14:43
e6ede12
Compare
Choose a tag to compare

Metadata class now has two new methods, Metadata.columns_names_to_lower() and Metadata.column_names_to_upper() to make all column names either lower or upper case.

msck fix

21 Jan 18:43
4c76cb1
Compare
Choose a tag to compare

fixes an issue with msck repair tables.
Note: this means that tables with hyphens in the name are not supported

glue_table generate_to_meta

18 Jan 16:38
b2f6ee6
Compare
Choose a tag to compare
Glue table gen to meta (#70)

* upver

* make generate_to_meta in GlueTable

* added test

* update toml

* black format

* weird bracket linting

* make glue to mojap better

* lint

* change default timestamp to seconds

* expanded tests to include complex type

* linting

* Update __init__.py (#71)

* line too long

* Update mojap_metadata/converters/glue_converter/__init__.py

Co-authored-by: Matt <38562764+LavMatt@users.noreply.github.com>

* Update mojap_metadata/converters/glue_converter/__init__.py

Co-authored-by: Matt <38562764+LavMatt@users.noreply.github.com>

Co-authored-by: Matt <38562764+LavMatt@users.noreply.github.com>

Postgres converter

13 Dec 17:25
a63891b
Compare
Choose a tag to compare

added ability to convert postgres connection to list of metadata objects