Branch: refs/heads/master
Home:
https://github.com/teiid/teiid
Commit: 368862d9ea7612a0fba06b772fd17e4aabe2d677
https://github.com/teiid/teiid/commit/368862d9ea7612a0fba06b772fd17e4aabe...
Author: Tom Arnold <tom9729(a)gmail.com>
Date: 2015-01-06 (Tue, 06 Jan 2015)
Changed paths:
M api/src/main/java/org/teiid/translator/SourceSystemFunctions.java
M api/src/main/java/org/teiid/translator/TypeFacility.java
M common-core/src/main/java/org/teiid/core/types/BlobType.java
M common-core/src/main/java/org/teiid/core/types/DataTypeManager.java
A common-core/src/main/java/org/teiid/core/types/GeometryType.java
M common-core/src/main/java/org/teiid/core/types/JDBCSQLTypeInfo.java
M common-core/src/main/java/org/teiid/core/types/basic/BinaryToBlobTransform.java
M common-core/src/main/java/org/teiid/core/types/basic/BlobToBinaryTransform.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/FunctionModifier.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/JDBCExecutionFactory.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/TranslatedCommand.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/mysql/MySQLExecutionFactory.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/oracle/OracleExecutionFactory.java
M
connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/mysql/TestMySQLTranslator.java
M
connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/oracle/TestOracleTranslator.java
M engine/pom.xml
A engine/src/main/java/org/teiid/query/function/GeometryFunctionMethods.java
A engine/src/main/java/org/teiid/query/function/GeometryUtils.java
M engine/src/main/java/org/teiid/query/function/TeiidFunction.java
M
engine/src/main/java/org/teiid/query/function/metadata/FunctionCategoryConstants.java
M engine/src/main/java/org/teiid/query/function/source/SystemSource.java
M
engine/src/main/java/org/teiid/query/processor/relational/SubqueryAwareEvaluator.java
M engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj
M engine/src/main/resources/org/teiid/metadata/types.dat
M engine/src/test/java/org/teiid/query/unittest/RealMetadataFactory.java
M pom.xml
Log Message:
-----------
Added `GeometryType` to hold WKB-encoded geometry. Changed MySQL and Oracle translators
to recognize geometry columns. Changed to rewrite stuff like `SELECT X` (where `X` is
`GEOMETRY`) to `SELECT CONVERT(X, GEOMETRY)` and then finally `SELECT AsWKB(X)`. Added
`GEOMETRY` type to SQL grammar. Added `COLA_MARKETS` table to BQT VDB for testing.
Added `ST_AsText`, `ST_GeomFromText`, `ST_Intersects`, and `ST_Contains` as pushdown for
MySQL.
Fixed issue where `SELECT ST_GeomFromText(...)` was not being converted.
Implemented WKT/WKB conversions in Java using JTS. Fixed bug where results were being
transformed into BlobType instead of GeometryType.
Added wrapping of GEOMETRY literals to send them to DB. Fixed issue where GEOMETRY literal
toString() was being sent instead of actual value.
Commit: d103b630cd2a945705ba7a197f3b375cdb65de60
https://github.com/teiid/teiid/commit/d103b630cd2a945705ba7a197f3b375cdb6...
Author: Steven Hawkins <shawkins(a)redhat.com>
Date: 2015-01-07 (Wed, 07 Jan 2015)
Changed paths:
M
connectors/translator-mongodb/src/main/java/org/teiid/translator/mongodb/MongoDBExecutionFactory.java
M pom.xml
Log Message:
-----------
Merge branch 'master' of
https://github.com/teiid/teiid
Commit: 2878f807423dc157b80d3739b4bde7aeeca9e345
https://github.com/teiid/teiid/commit/2878f807423dc157b80d3739b4bde7aeeca...
Author: shawkins <shawkins(a)redhat.com>
Date: 2015-01-07 (Wed, 07 Jan 2015)
Changed paths:
M api/src/main/java/org/teiid/language/SQLConstants.java
M api/src/main/java/org/teiid/translator/SourceSystemFunctions.java
M build/kits/jboss-as7/docs/teiid/teiid-releasenotes.html
M build/kits/jboss-as7/modules/system/layers/base/org/jboss/teiid/main/module.xml
M build/kits/karaf/teiid-karaf-features.xml
M client/src/main/java/org/teiid/client/BatchSerializer.java
M client/src/test/java/org/teiid/client/TestBatchSerializer.java
M common-core/src/main/java/org/teiid/core/types/DataTypeManager.java
M common-core/src/main/java/org/teiid/core/types/GeometryType.java
M common-core/src/main/java/org/teiid/core/types/basic/BinaryToBlobTransform.java
M common-core/src/main/java/org/teiid/core/types/basic/BlobToBinaryTransform.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/JDBCExecutionFactory.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/mysql/MySQLExecutionFactory.java
M
connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/oracle/OracleExecutionFactory.java
M
connectors/translator-jdbc/src/test/java/org/teiid/translator/jdbc/mysql/TestMySQLTranslator.java
M engine/pom.xml
M engine/src/main/java/org/teiid/common/buffer/LobManager.java
M engine/src/main/java/org/teiid/dqp/internal/process/DQPWorkContext.java
M engine/src/main/java/org/teiid/dqp/internal/process/RequestWorkItem.java
M engine/src/main/java/org/teiid/query/function/GeometryFunctionMethods.java
M engine/src/main/java/org/teiid/query/function/GeometryUtils.java
M engine/src/main/java/org/teiid/query/function/source/SystemSource.java
M engine/src/main/javacc/org/teiid/query/parser/SQLParser.jj
M engine/src/test/java/org/teiid/query/metadata/TestDDLStringVisitor.java
A engine/src/test/java/org/teiid/query/processor/TestGeometry.java
M pom.xml
M runtime/src/test/java/org/teiid/runtime/TestEmbeddedServer.java
M
test-integration/common/src/test/java/org/teiid/transport/TestJDBCSocketTransport.java
M
test-integration/common/src/test/resources/TestMMDatabaseMetaData/testGetFunctionColumns.expected
M
test-integration/common/src/test/resources/TestMMDatabaseMetaData/testGetFunctions.expected
M
test-integration/common/src/test/resources/TestODBCProceduresSchema/test_Pg_Proc_alltypes.expected
M
test-integration/common/src/test/resources/TestODBCProceduresSchema/test_Pg_Proc_void.expected
M
test-integration/common/src/test/resources/TestODBCProceduresSchema/test_Pg_Proc_with_return.expected
M
test-integration/common/src/test/resources/TestODBCProceduresSchema/test_Pg_Proc_with_return_table.expected
M test-integration/common/src/test/resources/TestODBCSchema/test_PG_ATTRDEF.expected
M
test-integration/common/src/test/resources/TestODBCSchema/test_PG_ATTRIBUTE.expected
M test-integration/common/src/test/resources/TestODBCSchema/test_PG_CLASS.expected
M test-integration/common/src/test/resources/TestODBCSchema/test_PG_INDEX.expected
M
test-integration/common/src/test/resources/TestODBCSchema/test_PG_NAMESPACE.expected
M test-integration/common/src/test/resources/TestODBCSchema/test_PG_TYPE.expected
M
test-integration/common/src/test/resources/TestODBCSocketTransport/testPgProc.expected
M
test-integration/common/src/test/resources/TestSystemVirtualModel/testDataTypes.expected
M
test-integration/common/src/test/resources/TestSystemVirtualModel/testFunctionParams.expected
M
test-integration/common/src/test/resources/TestSystemVirtualModel/testFunctions.expected
Log Message:
-----------
TEIID-2384 initial support for geospatial
Compare:
https://github.com/teiid/teiid/compare/f9c60abe897f...2878f807423d