datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
352 stars 60 forks source link

support decimal prec and scale when testing parquet files and in glue… #265

Closed samdaviestvg closed 2 weeks ago

samdaviestvg commented 2 weeks ago

This MR is to allow parquet files to support decimal precision and scale when validating files against a datacontract where they are provided. Also added functionality to the glue importer to support decimals with precision and scale so the generated contract adds precision and scale to the filed

decimal parquet look like; {"id":"123","price":"\"12345\""} {"id":"456","price":"\"67890\""}