[jira] [Commented] (ZEST-190) Refine Metrics API/SPI

2016-10-24 Thread Niclas Hedhman (JIRA)
[ https://issues.apache.org/jira/browse/ZEST-190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15603733#comment-15603733 ] Niclas Hedhman commented on ZEST-190: - I agree. The original design was rushed together too quickly and

Re: Postgresql indexing tests

2016-10-24 Thread Stanislav Muhametsin
In "extensions/indexing-sql/src/main/java/org/apache/zest/index/sql/support/skeletons/AbstractSQLStartup.java" file, there is "initTypes" method. You might want to add mapping for Identity.class in this._primitiveTypes and jdbcTypes, and also most likely this._customizableTypes. I say "might"

Re: Postgresql indexing tests

2016-10-24 Thread Niclas Hedhman
Giving up for now... I think the general problem is that Identity is a missing type for the Indexing system, and not so much about the toString() conversion that seems to have been missed only once. Cheers Niclas On Mon, Oct 24, 2016 at 9:26 PM, Niclas Hedhman wrote: >

Postgresql indexing tests

2016-10-24 Thread Niclas Hedhman
The issue in the indexing is that Identity is an unknown type for SQL. I added that in org.apache.zest.index.sql.support.skeletons.AbstractSQLStartup and also added if( Identity.class.isAssignableFrom( primitiveClass ) ) { primitiveClass = Identity.class; } else in

Jenkins build is back to normal : Zest(JavaEdition)-develop-java8-check #210

2016-10-24 Thread Apache Jenkins Server
See

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Stanislav Muhametsin
On 24.10.2016 15:39, Niclas Hedhman wrote: Thanks for the help, Stan... Really appreciated that you still watch what is going on here. You're welcome, Niclas! :) I do watch this, just not always enough time to post meaningful reply, or the topic is a bit out of scope (e.g. entities) for me

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Niclas Hedhman
Ii have figured it out... I missed the "reconnect to the jdbc_test_db as a superuser". My ltree addition happened outside the database "jdbc_test_db"... On my way now. On Mon, Oct 24, 2016 at 8:30 PM, Niclas Hedhman wrote: > If I go back to psql, I get this informative

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Stanislav Muhametsin
On 24.10.2016 15:30, Niclas Hedhman wrote: If I go back to psql, I get this informative message postgres=# CREATE EXTENSION ltree; ERROR: extension "ltree" already exists OK, that is weird... Maybe 'ltree' extension is per-user? Have you tried logging in with same user as the Java tests are

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Niclas Hedhman
If I go back to psql, I get this informative message postgres=# CREATE EXTENSION ltree; ERROR: extension "ltree" already exists On Mon, Oct 24, 2016 at 8:23 PM, Niclas Hedhman wrote: > > Caused by: org.postgresql.util.PSQLException: ERROR: type ltree > does not exist >

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Niclas Hedhman
Caused by: org.postgresql.util.PSQLException: ERROR: type ltree does not exist Position: 55 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2453) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2153) at

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Niclas Hedhman
Ah, I see... stmt.execute( this._vendor.toString( d .createTableDefinitionBuilder() .setTableScope( TableScope.LOCAL_TEMPORARY ) .setTableName( t.tableName( "ltree_test" ) ) .setCommitAction( PgSQLTableCommitAction.DROP ) .setTableContentsSource(

Re: [3/3] zest-java git commit: ZEST-180 Indexing-SQL uses the String form of Identity

2016-10-24 Thread Niclas Hedhman
Hold on, what is this?? UnitOfWork.get() takes an Identity instance, not a string. On Mon, Oct 24, 2016 at 7:41 PM, wrote: > ZEST-180 Indexing-SQL uses the String form of Identity > > Most of the tests still fail after the refactoring. > > > Project:

Build failed in Jenkins: Zest(JavaEdition)-develop-java9-check #17

2016-10-24 Thread Apache Jenkins Server
See Changes: [paulmerlin] SQL ES: fix MySQL test jdbc url for new drivers [paulmerlin] SQL ES: better document test setup [paulmerlin] ZEST-180 Indexing-SQL uses the String form of Identity

Re: [WARNING] Unstable 'develop' branch

2016-10-24 Thread Paul Merlin
So, I ran integration tests and everything is stable except indexing-sql. A lot of the query tests fail. Something about mapping Identity to String is incomplete. I've attached the tests result report to ZEST-180 and pointed to the test setup instruction there. Paul Merlin a écrit : > Niclas,

[jira] [Commented] (ZEST-180) Replace String with Identity

2016-10-24 Thread Niclas Hedhman (JIRA)
[ https://issues.apache.org/jira/browse/ZEST-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15601739#comment-15601739 ] Niclas Hedhman commented on ZEST-180: - I'll go through the test report now > Replace String with

[jira] [Updated] (ZEST-180) Replace String with Identity

2016-10-24 Thread Paul Merlin (JIRA)
[ https://issues.apache.org/jira/browse/ZEST-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Merlin updated ZEST-180: - Attachment: indexing-sql-test-report.zip Test report for {{indexing-sql}} as of

[jira] [Commented] (ZEST-180) Replace String with Identity

2016-10-24 Thread Paul Merlin (JIRA)
[ https://issues.apache.org/jira/browse/ZEST-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15601726#comment-15601726 ] Paul Merlin commented on ZEST-180: -- Most of the {{indexing-sql}} tests fail since the change. It has to

[jira] [Updated] (ZEST-180) Replace String with Identity

2016-10-24 Thread Paul Merlin (JIRA)
[ https://issues.apache.org/jira/browse/ZEST-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Merlin updated ZEST-180: - Assignee: Niclas Hedhman > Replace String with Identity > > >

Build failed in Jenkins: Zest(JavaEdition)-develop-java9-check #16

2016-10-24 Thread Apache Jenkins Server
See Changes: [paulmerlin] Indexing-RDF doc, fix snippet inclusion paths after file move [paulmerlin] Remove executable bit on java/html/css/ts files -- [...truncated 10508

Build failed in Jenkins: Zest(JavaEdition)-develop-java8-check #209

2016-10-24 Thread Apache Jenkins Server
See Changes: [paulmerlin] ZEST-183 Remove eventsourcing library from docs [paulmerlin] ZEST-188 Remove scala library from docs [paulmerlin] Indexing-RDF doc, fix snippet inclusion paths after file move

Build failed in Jenkins: Zest(JavaEdition)-develop-java9-check #15

2016-10-24 Thread Apache Jenkins Server
See Changes: [paulmerlin] ZEST-183 Remove eventsourcing library from docs [paulmerlin] ZEST-188 Remove scala library from docs -- [...truncated 13582 lines...]