Skip to content

Commit

Permalink
Merge pull request #41 from Vitalii4as/HCK-2947-data-type-mapping-fro…
Browse files Browse the repository at this point in the history
…m-polyglot

Polyglot: improved conversion of geoshape and geopoint data types to target
  • Loading branch information
taras-dubyk authored Jan 27, 2023
2 parents f7b3ced + 9127c1d commit fa5051e
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions polyglot/adapter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
* Copyright © 2016-2022 by IntegrIT S.A. dba Hackolade. All rights reserved.
*
* The copyright to the computer software herein is the property of IntegrIT S.A.
* The software may be used and/or copied only with the written permission of
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
* the agreement/contract under which the software has been supplied.
*
* The software may be used and/or copied only with the written permission of
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
* the agreement/contract under which the software has been supplied.
*
* {
* "add": {
* "entity": [<names of new property>],
Expand Down Expand Up @@ -39,7 +39,7 @@
* },
* }
*/
{
{
"modify": {
"field": [
{
Expand Down Expand Up @@ -108,6 +108,22 @@
"to": {
"mode": "bigint"
}
},
{
"from": {
"type": "geoshape"
},
"to": {
"mode": "polygon"
}
},
{
"from": {
"type": "geopoint"
},
"to": {
"mode": "point"
}
}
]
}
Expand Down

0 comments on commit fa5051e

Please sign in to comment.