Hi,
I think my problem is only a special example of IOTDB-335, my work will use 
some existing functions to implement a 'last' function we possibly need now, 
but it can't be a general way to solve IOTDB-335, and I also don't know how to 
deal with IOTDB-335 , perhaps others could help.
Yi Tao








At 2019-12-03 15:48:13, "刘大伟" <13965...@qq.com> wrote:
>Hi,
>I'm terribly sorry to bother you,  is this the same problem as 
>IOTDB-335(https://issues.apache.org/jira/browse/IOTDB-335 
><https://issues.apache.org/jira/browse/IOTDB-335>)?
>
>
>
>> 在 2019年12月3日,下午3:37,thss15_yit <thss15_...@163.com> 写道:
>> 
>> Hi,
>>     Now I'm trying to design and develop a new 'last' function to get the 
>> last time-value pairs in one or several timeseries, working on JIRA issue 
>> [IOTDB-298], Now an example of this function is SELECT LAST(d0.s1, d1.s2) 
>> FROM root.sg1 , to get the last value in root.sg1.d0.s1 and root.sg1.d1.s2
>>     You can see the function's particular grammar and examples in the 
>> attached file last.md .
>>     I'm glad to get your suggestions. Thank you.
>> Tao Yi
>> 
>> 
>> 
>> 
>> 
>> At 2019-11-29 11:30:18, "thss15_yit" <thss15_...@163.com> wrote:
>> >Hi,
>> >    I have been working on JIRA issue [IOTDB-298], and now in the following 
>> > pull request I change the aggregation function's name from first,last to 
>> > first_value,last_value to make it more clear, and change the relevant 
>> > documents. 
>> >    The pull request is https://github.com/apache/incubator-iotdb/pull/594, 
>> >    Thanks for your checking.
>> >    I'm going to complete a new 'last' function to get the last point(s) on 
>> > this issue. The function still needs to be discussed. Thanks for your idea.
>> >Tao Yi 
>> >
>> >
>> >
>> >
>> > 
>> 
>> 
>>  
>

Reply via email to