Strabon

changeset 784:ece107a3cf59 DiffDateTime

small change to previous parent changeset
author George Garbis <ggarbis@di.uoa.gr>
date Thu Dec 06 13:15:24 2012 +0200 (2012-12-06)
parents 971584294be1
children 5ec8a9894fe2
files postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java
line diff
     1.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Wed Dec 05 19:22:44 2012 +0200
     1.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Thu Dec 06 13:15:24 2012 +0200
     1.3 @@ -1359,7 +1359,8 @@
     1.4  			}
     1.5  			//case met in buffer when in select -> buffer(?spatial,?thematic)
     1.6  			else if(expr.getLeftArg() instanceof GeneralDBLabelColumn && !((GeneralDBLabelColumn)expr.getLeftArg()).isSpatial())
     1.7 -			{
     1.8 +			{	// TODO auto den einai swsto giati mporei na mhn ginei apply 
     1.9 +				// mono se dateTime values
    1.10  				filter.append(" extract(epoch from ");
    1.11  				append(((GeneralDBLabelColumn)expr.getLeftArg()),filter);
    1.12  				filter.append("::timestamp) ");
    1.13 @@ -1398,7 +1399,8 @@
    1.14  			}
    1.15  			//case met in buffer when in select -> buffer(?spatial,?thematic)
    1.16  			else if(expr.getRightArg() instanceof GeneralDBLabelColumn && !((GeneralDBLabelColumn)expr.getRightArg()).isSpatial())
    1.17 -			{
    1.18 +			{	// TODO auto den einai swsto giati mporei na mhn ginei apply 
    1.19 +				// mono se dateTime values
    1.20  				filter.append(" extract(epoch from ");
    1.21  				append(((GeneralDBLabelColumn)expr.getRightArg()),filter);
    1.22  				filter.append("::timestamp) ");