forked from babelfish-for-postgresql/babelfish_extensions
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented TDS Receiver Support for Spatial Datatypes and Tested bot…
…h Sender and Receiver functions with JDBC, ODBC and DOTNET Drivers (babelfish-for-postgresql#1921) This commit contains Receiver Support for GEOGRAPHY and GEOGRAPHY datatype for Point Type and also tested the Sender and Receiver functions with JDBC, ODBC and DOTNET drivers. Added CAST (Varbinary to Geometry/Geography and vice-versa) required by JDBC driver to receiver Geometry/Geography as Varbinary. Introduced appropriate error messages when an unsupported functionality(such as LINESTRING) is queried. Added Receiver function required by DOTNET driver to receiver Geometry/Geography as CLRUDT types. Added new tests in TestSpatialPoint-vu-* to test receiver function for JDBC driver. Added logic to parse the geometry/geography inputs in JDBCPreparedStatement.java file. Added new tests TestPoint.txt to test Sender and Receiver functions for DOTNET driver. Added logic to parse the geometry/geography inputs in PrepareExecBinding.cs file. Added new tests geometry.cpp and geography.cpp to test Sender and Receiver functions for ODBC driver. Added some sender function tests in test_data_types.cpp file for ODBC driver. Tested the changes with valgrind and didn't see any memory issues. Task: BABEL- 4369 Authored-by: Anikait Agrawal [email protected] Signed-off-by: Anikait Agrawal [email protected]
- Loading branch information
1 parent
2ad7351
commit 3a0259b
Showing
25 changed files
with
1,748 additions
and
722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.