[jira] [Commented] (ASTERIXDB-1606) Optimize "last value" query

2016-08-24 Thread Yingyi Bu (JIRA)
[ https://issues.apache.org/jira/browse/ASTERIXDB-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15435344#comment-15435344 ] Yingyi Bu commented on ASTERIXDB-1606: -- Does any database provide (1)? GREATEST is a function

[jira] [Commented] (ASTERIXDB-1606) Optimize "last value" query

2016-08-24 Thread Till (JIRA)
[ https://issues.apache.org/jira/browse/ASTERIXDB-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15435307#comment-15435307 ] Till commented on ASTERIXDB-1606: - I'm not too enthusiastic to add new syntax, that's just me :) If

[jira] [Commented] (ASTERIXDB-1606) Optimize "last value" query

2016-08-23 Thread Steven Jacobs (JIRA)
[ https://issues.apache.org/jira/browse/ASTERIXDB-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433653#comment-15433653 ] Steven Jacobs commented on ASTERIXDB-1606: -- This will be great to have in master. What are

[jira] [Commented] (ASTERIXDB-1606) Optimize "last value" query

2016-08-23 Thread Till (JIRA)
[ https://issues.apache.org/jira/browse/ASTERIXDB-1606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15433643#comment-15433643 ] Till commented on ASTERIXDB-1606: - I think that the pushdown of the {{limit}} clause should do that.