Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set precision of TWKB to 5 and fix doc in formatters #320

Merged

Conversation

aarroyosal
Copy link
Contributor

@aarroyosal aarroyosal commented Sep 15, 2022

Description

Shortcut

The builder always parses the TWKB format with precision 5, because the library WKX doesn't give other option. In order to be compatible with carto product, precision has been set to 5 in the TWKB Writer

Type of change

Changed

  • The XY precission of the TWKBWriter is set to 5

Fixed

  • [formatters] Fix the doc of the transformers functions ST_ASLATLONTEXT and ST_ASTEXT.

Acceptance

cd clouds/databricks
make deploy
make test

In builder create a connection with databricks (where the libraries are deployed) and execute the query:
SELECT ST_CENTROID(geom) as geom FROM carto_dev_data.geography_usa_zcta_2019
image

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #257659: Change default precision in TWKB to 5.

@aarroyosal aarroyosal merged commit c7e3f6f into master Sep 15, 2022
@Jesus89 Jesus89 deleted the feature/sc-257659/change-default-precision-in-twkw-to-5 branch September 15, 2022 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants