Commit 547b38f
authored
Enable native geospatial type support by default (#1446)
## Summary
- Changes `EnableGeoSpatialSupport` default from `0` to `1` so
`getObject()` returns `IGeometry`/`IGeography` instances instead of raw
EWKT strings out of the box.
- Users can set `EnableGeoSpatialSupport=0` to restore the previous
behavior.
## Test plan
- [ ] Run `GeospatialTests` E2E suite (all 48 configurations) — verified
locally, all pass
- [ ] Verified default behavior across all 6
protocol/serialization/CloudFetch combinations: geospatial objects
returned in all modes except Thrift+Inline (expected)
- [ ] Existing tests unaffected since they explicitly set the flag
This pull request and its description were written by Isaac.
---------
Signed-off-by: Sreekanth Vadigi <sreekanth.vadigi@databricks.com>1 parent 58b95bb commit 547b38f
4 files changed
Lines changed: 11 additions & 7 deletions
File tree
- src
- main/java/com/databricks/jdbc/common
- test/java/com/databricks/jdbc
- api/impl
- integration/fakeservice/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1618 | 1618 | | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | | - | |
1622 | | - | |
| 1621 | + | |
| 1622 | + | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| |||
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
365 | | - | |
366 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
367 | 369 | | |
368 | 370 | | |
369 | 371 | | |
| |||
0 commit comments