Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-dev] geomesa DateFilter Bug

Hello,
Thank you so much for reaching out. I have added your email to the GeoMesa developer mailing list and have cc'ed Jim Hughes, the lead of the GeoMesa project. They will be able to best answer your question.
Best,
Thea Aldrich 

On Thu, Sep 21, 2017 at 10:45 PM, Yangzhenhua (C) <silence.yang@xxxxxxxxxx> wrote:

Hello all,

 

There is a problem when i use the geomesa-hbaserelease 1.3.2. It could be a bug, but I'm not sure.

 

I run the class of HBaseQuickStart with the below changes.

 

         In the function of "createNewFeatures":

 

                   Long SECONDS_PER_YEAR = /*365L * */30 * 24L * 60L * 60L;

 

                   DateTime MIN_DATE = new DateTime(2017, 4, 1, 0, 0, 0, DateTimeZone.forID("UTC"));

 

        

         In main:

                  

                   FeatureCollection featureCollection = createNewFeatures(simpleFeatureType, 10000);

                

                   queryFeatures(simpleFeatureTypeName, dataStore,

                         "Where", -180, -90, 180, 90,

                         "When", "2017-04-13T00:00:00.000Z", "2017-04-17T23:59:59.999Z",

                         null);

 

 

The other codes remain unchanged.

 

 

The avove aquery expectes some results, but it is empty.

Until now ,i found only one timeInterval that is from "2017-04-13T00:00:00.000Z" to "2017-04-17T23:59:59.999Z".  The other timeintervals are correct.

 

 

 

Could you confirm this for me?

 

Thanks

 



Back to the top